gui_add | R Documentation |
Create and manipulate gui
objects to manage 'SciViews'-compatible GUIs
(Graphical User Interfaces).
gui_add(gui.name = ".GUI", widgets = c("nativeGUI", "textCLI"), ask) guiAdd(gui.name = ".GUI", widgets = c("nativeGUI", "textCLI"), ask) gui_change( gui.name = ".GUI", widgets = c("nativeGUI", "textCLI"), reset = FALSE, ask ) guiChange( gui.name = ".GUI", widgets = c("nativeGUI", "textCLI"), reset = FALSE, ask ) gui_remove(gui.name) guiRemove(gui.name) gui_list() guiList() gui_widgets(gui, gui.name = ".GUI") guiWidgets(gui, gui.name = ".GUI") gui_widgets(x, reset = FALSE) <- value guiWidgets(x, reset = FALSE) <- value gui_ask(gui.or.name, ask) guiAsk(gui.or.name, ask) gui_ask(x) <- value guiAsk(x) <- value
gui.name |
The name of the GUI. It is also the name of the object stored
in |
widgets |
The list of widgets that GUI uses, listed in a priority order. |
ask |
Logical indicating if modal dialog boxes should be display
( |
reset |
Should the GUI's main parameters (widgets, ask) be reset to default values? |
gui |
A |
x |
A |
value |
The list of widgets to add to this GUI, in priority order, or
should we change ask to |
gui.or.name |
A |
gui, setUI()
, dont_ask()
# A 'gui' object named .GUI is automatically created in 'SciViews:TempEnv' gui_list() # Create a new GUI object to manage a separate GUI in the same R session gui_add("myGUI") gui_list() # Change general properties of this GUI gui_ask(myGUI) <- FALSE # Add widgets to this GUI (you must provide methods for them) # see the svDialogs package for examples gui_widgets(myGUI) <- "tcltkWidgets" gui_widgets(myGUI) # Added to existing ones if reset is FALSE # Remove this new GUI gui_remove("myGUI")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.