| gui {svGUI} | R Documentation |
The 'gui' object contains and manages GUI-related data.
## S3 method for class 'gui' gui$x, args ## S3 method for class 'gui' print(x, ...) is.gui(x)
x |
a function for |
gui |
a 'gui' object. |
args |
arguments to pass to the function. |
... |
further arguments (not used yet). |
Methods for 'gui' objects can dispatch as usuang using
amethod(...., gui = agui) but note that these methods do not dispatch
on first provided argument, but to the named argument gui. There is
another way to call 'gui' methods: agui$amethod(....). This may be a
convenient alternative for those who prefer this style of calling object's
methods.
The result of the evaluation of the method of function applied for
agui$amethod(....).
The 'gui' object, invisibly, for print().
TRUE for is.gui(x) if the object x inherits from 'gui',
FALSE otherwise.
The 'gui' objects are not terribly useful by themselve, but thay provide the fundation for a flexible organisation of GUI elements in R (see for instance svDialogs or svWidgets).
Philippe Grosjean <phgrosjean@sciviews.org>
## Create a GUI
guiAdd("myGUI")
is.gui(myGUI)
myGUI
guiRemove("myGUI")