Append a string value specifying an action to the first position of an action vector.
setWinAct(winName, action)
window name where action is taking place.
string value describing an action.
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.