Description Usage Arguments Details Value Examples
actions are reusable encapsulations of actions. The
svalue<-
method can be used to update the text associated
with an action. Use enabled<-
to adjust sensitivity to
mouse events. The visible<-
method can adjust if objects
proxying the action are visible. The set_icon
reference
class method can be used to set the icon (no S3 method)
1 2 |
label |
Text for action |
tooltip |
tooltip. Ignored for this toolkit |
icon |
action icon class |
key.accel |
keyboard accelerator. Single key, e.g. "X",
"LEFT" (arrow), "PAGE_UP", "Ctrl-n", "Alt-X". Use "Shift" to force
that. List of key events is given here:
|
handler |
function called when action is invoked |
parent |
toplevel window of action (where it can be called). Required here |
... |
ignored |
See the method add_keybinding
to add a simple keybinding to
initiate this action.
a GWidget
object
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.