setWinAct {PBSmodelling} | R Documentation |
Add a Window Action to the Saved Action Vector
Description
Append a string value specifying an action to the first position of an action vector.
Usage
setWinAct(winName, action)
Arguments
winName |
window name where action is taking place. |
action |
string value describing an action. |
Details
When a function is called from a GUI, a string descriptor associated with
the action of the function is stored internally (appended to the first position
of the action vector). A user can utilize this action as a type of argument
for programming purposes. The command getWinAct()[1]
yields the latest action.
Sometimes it is useful to “fake” an action. Calling setWinAct
allows
the recording of an action, even if a button has not been pressed.
Author(s)
Alex Couture-Beil, Vancouver Island University, Nanaimo BC
[Package PBSmodelling version 2.69.3 Index]