Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setWinAct

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


PBSmodelling

GUI Tools Made Easy: Interact with Models and Explore Data

v2.68.8
GPL (>= 2)
Authors
Jon T. Schnute [aut], Alex Couture-Beil [aut], Rowan Haigh [aut, cre], Nicholas Boers [ctb], Anisa Egeli [ctb], A. R. Kronlund [ctb], Steve Martell [ctb], Norm Olsen [ctb]
Initial release
2019-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.