Description Usage Arguments Value See Also Examples
Manage lists of GUI actions, icons and methods.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | add_actions(
obj = get_actions(),
text = NULL,
code = NULL,
state = NULL,
options = NULL,
replace = TRUE
)
get_actions()
add_icons(obj = ".svIcons", icons, replace = TRUE)
add_methods(methods)
addActions(
obj = get_actions(),
text = NULL,
code = NULL,
state = NULL,
options = NULL,
replace = TRUE
)
addIcons(obj = ".svIcons", icons, replace = TRUE)
addMethods(methods)
|
obj |
The name of the object in |
text |
The text of actions to add (label on first line, tip on other lines). |
code |
The R code of actions to add. |
state |
The default (initial) state of an action, as a succession of
letters: |
options |
A character vector with other options to pass to the graphical toolkit for this action. |
replace |
Do we replace existing items in 'x'? |
icons |
The description of the icons to add. |
methods |
The list of methods to add (character string). |
The modified object is returned invisibly.
add_items()
, obj_menu()
, temp_env()
1 2 3 | # This is useful to add actions, icons, descriptions, shortcuts or methods
# TODO: examples and use for functions add_actions(), add_icons() and
# add_methods()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.