Description Usage Arguments Value
A action object encapsulates an action (a callback) adding textual and graphic information. Actions may be proxied in buttons, menu bars or tool bars.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
label |
label for action |
tooltip |
toolktip for actin |
icon |
icon (stock icon name) for icon |
key.accel |
keyboard accelerator. If given, parent must be specified. |
handler |
handler to call when action is invoked |
action |
values passed to parameterize action |
parent |
parent window. Needed if keyboard accelerator used. |
... |
These values are passed to the |
toolkit |
Each widget constructor is passed in the toolkit it
will use. This is typically done using the default, which will
lookup the toolkit through |
a gaction instance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.