loading...

The gui object contains and manages GUI-related data.

# S3 method for gui
$(gui, x)

# S3 method for gui
print(x, ...)

is.gui(x)

Arguments

gui

A gui object..

x

An object or a function for $.

...

Further arguments (not used yet).

See also

Examples

# Create a GUI
gui_add("myGUI")
#> Graphical User Interface: myGUI
#> using widgets from: nativeGUI, textCLI
is.gui(myGUI)
#> [1] TRUE
myGUI
#> Graphical User Interface: myGUI
#> using widgets from: nativeGUI, textCLI
# Put an object in the GUI environment (fake button)
myGUI$button <- "my_button"
# Retrieve it
myGUI$button
#> [1] "my_button"
# Get the curent status of the GUI
myGUI$status
#> NULL
# Eliminate this GUI and all its objects
gui_remove("myGUI")