# Rewrite of gWidgets API for Simplified GUI Construction

## Documentation for package ‘gWidgets2’ version 1.0-10

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A B C D E F G H I L N O R S T U V W X misc

gWidgets2-package | gWidgets2. An API for programming GUIs

## -- A --

add | Add a child object to parent container
add.default | Add a child object to parent container
add.GMenuBar | menu constructor, main and popup
add.GNotebook | Constructor for a tabbed notebook container
add.GToolBar | A toolbar constructor
add.GWindow | gwindow
add3rdMousePopupMenu | change handler for ggraphics
add3rdmousePopupMenu | change handler for ggraphics
addDragMotion | change handler for ggraphics
addDragMotion.default | change handler for ggraphics
addDropSource | change handler for ggraphics
addDropSource.default | change handler for ggraphics
addDropTarget | change handler for ggraphics
addDropTarget.default | change handler for ggraphics
addHandler | change handler for ggraphics
addHandler.default | change handler for ggraphics
addHandlerBlur | change handler for ggraphics
addHandlerBlur.default | change handler for ggraphics
addHandlerChanged | change handler for ggraphics
addHandlerChanged.default | change handler for ggraphics
addHandlerChanged.GButton | Basic button widget
addHandlerChanged.GCalendar | A constructor for a date selection widget
addHandlerChanged.GCheckbox | constructor for checkbox widget
addHandlerChanged.GCheckboxGroup | Constructor for checkbox group. A linked group of checkboxes, but not exclusive.
addHandlerChanged.GComboBox | constructor for a combobox
addHandlerChanged.GDf | Constructor for a data frame editor
addHandlerChanged.GEdit | Single line text edit constructor
addHandlerChanged.GExpandGroup | Constructor of box container widget with disclosure trigger and label
addHandlerChanged.GGraphics | change handler for ggraphics
addHandlerChanged.GNotebook | Constructor for a tabbed notebook container
addHandlerChanged.GTable | A constructor for displaying tabular data for selection
addHandlerClicked | change handler for ggraphics
addHandlerClicked.default | change handler for ggraphics
addHandlerColumnclicked | change handler for ggraphics
addHandlerColumnclicked.default | change handler for ggraphics
addHandlerColumnDoubleclicked | change handler for ggraphics
addHandlerColumnDoubleclicked.default | change handler for ggraphics
addHandlerColumnRightclicked | change handler for ggraphics
addHandlerColumnRightclicked.default | change handler for ggraphics
addHandlerControlclick | change handler for ggraphics
addHandlerControlclick.default | change handler for ggraphics
addHandlerDestroy | change handler for ggraphics
addHandlerDestroy.default | change handler for ggraphics
addHandlerDoubleclick | change handler for ggraphics
addHandlerDoubleclick.default | change handler for ggraphics
addHandlerDoubleclick.GTable | A constructor for displaying tabular data for selection
addHandlerExpose | change handler for ggraphics
addHandlerExpose.default | change handler for ggraphics
addHandlerFocus | change handler for ggraphics
addHandlerFocus.default | change handler for ggraphics
addHandlerIdle | change handler for ggraphics
addHandlerKeystroke | change handler for ggraphics
addHandlerKeystroke.default | change handler for ggraphics
addHandlerMouseMotion | change handler for ggraphics
addHandlerMouseMotion.default | change handler for ggraphics
addHandlerRightclick | change handler for ggraphics
addHandlerRightclick.default | change handler for ggraphics
addHandlerSelect | change handler for ggraphics
addHandlerSelect.default | change handler for ggraphics
addHandlerSelectionChanged | change handler for ggraphics
addHandlerSelectionChanged.default | change handler for ggraphics
addHandlerShiftclick | change handler for ggraphics
addHandlerShiftclick.default | change handler for ggraphics
addHandlerUnrealize | change handler for ggraphics
addHandlerUnrealize.default | change handler for ggraphics
addPopupMenu | change handler for ggraphics
addPopupMenu.default | change handler for ggraphics
addRightclickPopupMenu | change handler for ggraphics
addRightclickPopupMenu.default | change handler for ggraphics
addSpace | Add a spring to box containers
addSpace.GContainer | Add a spring to box containers
addSpring | Add a spring to box containers
addSpring.GContainer | Add a spring to box containers
addStockIcons | Method to add icon to list of stock icons

## -- B --

BasicToolkitInterface | A class to record the toolkit a gui object uses
BasicToolkitInterface-class | A class to record the toolkit a gui object uses
blockHandler | change handler for ggraphics
blockHandler.default | change handler for ggraphics
blockHandlers | change handler for ggraphics
blockHandlers.default | change handler for ggraphics

## -- C --

call_meth | helper function to bypass lack of cached value in method call
check_deprecated | Method to send message if any depreacted arguments are being used
check_return_class | check that toolkit object return the right class
Command | A class to record the toolkit a gui object uses
Command-class | A class to record the toolkit a gui object uses
CommandList | A class to record the toolkit a gui object uses
CommandList-class | A class to record the toolkit a gui object uses
CommandStack | A class to record the toolkit a gui object uses
CommandStack-class | A class to record the toolkit a gui object uses

## -- D --

delete | Add a child object to parent container
delete.GContainer | Add a child object to parent container
dim.GComponent | Return items
dimnames.GComponent | Return items
dimnames<-.GComponent | Return items
dispose | Dispose of object
dispose.GBasicDialog | Constructor for modal dialog that can contain an arbitrary widget
dispose.GComponent | Dispose of object
dispose.GNotebook | Constructor for a tabbed notebook container
dispose.GStackWidget | Constructor for a tabbed notebook container
dispose.GText | Multiline text edit constructor
dispose.GWindow | gwindow

## -- E --

editable | Controls whether widget is editable or not
editable.default | Controls whether widget is editable or not
editable<- | Controls whether widget is editable or not
editable<-.default | Controls whether widget is editable or not
enabled | enabled
enabled.default | enabled
enabled<- | enabled
enabled<-.default | enabled

## -- F --

flatten | Flatten a nested list
focus | Does widget have focus
focus.default | Does widget have focus
focus<- | Does widget have focus
focus<-.default | Does widget have focus
font | Returns font specification for widget, if available
font.default | Returns font specification for widget, if available
font<- | Returns font specification for widget, if available
font<-.default | Returns font specification for widget, if available
font<-.GText | Returns font specification for widget, if available

## -- G --

gaction | An action constructor
galert | Alert dialog to display transient messages
gbasicdialog | Constructor for modal dialog that can contain an arbitrary widget
gbutton | Basic button widget
gcalendar | A constructor for a date selection widget
gcheckbox | constructor for checkbox widget
gcheckboxgroup | Constructor for checkbox group. A linked group of checkboxes, but not exclusive.
gcombobox | constructor for a combobox
gconfirm | Constructor for modal dialog to get confirmation
gcontainer | Common parts of a container widget
gdf | Constructor for a data frame editor
gdfnotebook | A notebook container for many 'gdf' instances
gdroplist | constructor for a combobox
gedit | Single line text edit constructor
getBlock | Get underlying toolkit widget
getBlock.GComponent | Get underlying toolkit widget
getBlock.GWindow | Get underlying toolkit widget
getStockIconByName | Method to add icon to list of stock icons
getStockIcons | Method to add icon to list of stock icons
getToolkitWidget | Get underlying toolkit widget
getToolkitWidget.default | Get underlying toolkit widget
getTopLevel | Get underlying toolkit widget
getTopLevel.GComponent | Get underlying toolkit widget
getWidget | Get underlying toolkit widget
getWidget.GComponent | Get underlying toolkit widget
getWithDefault | Return x unless NULL, NA, length 0, ..., in which case we give default
get_index_in_list | get index of element of list
get_object_from_string | Get an object from an environment specified by a string.
gexpandgroup | Constructor of box container widget with disclosure trigger and label
gfile | dialog for file and directory selection
gfilebrowse | dialog for file and directory selection
gfilter | A widget for filtering a data frame
gformlayout | A form layout container
gframe | Constructor for framed box container with label
ggraphics | Constructor for an embeddable graphics device
ggraphicsnotebook | A notebook widget holding plot devices
ggroup | Basic box container
ghtml | Widget for HTML display
gimage | A widget for displaying an image file
ginput | Constructor for modal dialog to collect a line of text
glabel | Basic label widget
glayout | Constructor for grid layout container
gmenu | menu constructor, main and popup
gmessage | Constructor for modal message dialog
gnotebook | Constructor for a tabbed notebook container
gpanedgroup | constructor for a two-paned container
gprogressbar | Basic progress bar widget
gradio | Constructor for radio button widget
gseparator | constructor providing a widget for displaying a line in a GUI
gslider | slider widget constructor
gspinbutton | Spinbutton constructor
gstackwidget | Constructor for a stack of widgets
gstatusbar | constructor to add a status bar to main window
gtable | A constructor for displaying tabular data for selection
gtext | Multiline text edit constructor
gtimer | Basic timer widget
gtoolbar | A toolbar constructor
gtoolkit | Which toolkit are we using?
gtree | constructor for widget to display heirarchical data
guiToolkit | set or get the current toolkit for gWidgets
guiWidgetsToolkit-class | A class to record the toolkit a gui object uses
gvarbrowser | Constructor for workspace variable browser
gvbox | Basic box container
gwidget | Common parts of a widget
GWidgets2Icons | A class to record the toolkit a gui object uses
GWidgets2Icons-class | A class to record the toolkit a gui object uses
gwindow | gwindow

## -- H --

Handler | A class to record the toolkit a gui object uses
Handler-class | A class to record the toolkit a gui object uses

## -- I --

insert | Multiline text edit constructor
insert.GText | Multiline text edit constructor
installing_gWidgets_toolkits | blurb about installation
isExtant | Check if widget is extant.
isExtant.default | Check if widget is extant.
is_empty | is value missing, null, 0-length or NA length 1
is_MacOSX | Return logical indicating if we are on a macintosh machine
is_Windows | Return logical indicating if we are on a Windows machine

## -- L --

length.GComponent | Return items
length<-.GComponent | Return items

## -- N --

names.GComponent | Return items
names.GNotebook | Constructor for a tabbed notebook container
names<-.GComponent | Return items
names<-.GFrame | Return items

## -- O --

Observable | A class to record the toolkit a gui object uses
Observable-class | A class to record the toolkit a gui object uses
Observer | A class to record the toolkit a gui object uses
observer | constructor for handler object
Observer-class | A class to record the toolkit a gui object uses

## -- R --

redo | Redo past action.
redo.GComponent | Redo past action.
removeHandler | change handler for ggraphics
removeHandler.default | change handler for ggraphics

## -- S --

short_summary | Provide a short summary for an object
short_summary.character | Provide a short summary for an object
short_summary.data.frame | Provide a short summary for an object
short_summary.default | Provide a short summary for an object
short_summary.function | Provide a short summary for an object
short_summary.list | Provide a short summary for an object
short_summary.lm | Provide a short summary for an object
short_summary.logical | Provide a short summary for an object
short_summary.matrix | Provide a short summary for an object
short_summary.numeric | Provide a short summary for an object
size | Return size (width and height) of widget
size.default | Return size (width and height) of widget
size<- | Return size (width and height) of widget
size<-.default | Return size (width and height) of widget
size<-.GTable | A constructor for displaying tabular data for selection
stockIconFromClass | Method to add icon to list of stock icons
stockIconFromObject | Method to add icon to list of stock icons
str.GComponent | Return items
svalue | svalue
svalue.default | svalue
svalue.GButton | Basic button widget
svalue.GCalendar | A constructor for a date selection widget
svalue.GCheckboxGroup | Constructor for checkbox group. A linked group of checkboxes, but not exclusive.
svalue.GComboBox | constructor for a combobox
svalue.GDf | Constructor for a data frame editor
svalue.GEdit | Single line text edit constructor
svalue.GFilter | A widget for filtering a data frame
svalue.GFormLayout | A form layout container
svalue.GMenuBar | menu constructor, main and popup
svalue.GRadio | Constructor for radio button widget
svalue.GTable | A constructor for displaying tabular data for selection
svalue.GText | Multiline text edit constructor
svalue.GTree | constructor for widget to display heirarchical data
svalue.GVarBrowser | Constructor for workspace variable browser
svalue<- | svalue
svalue<-.default | svalue
svalue<-.GCheckbox | constructor for checkbox widget
svalue<-.GFormLayout | svalue
svalue<-.GGroup | Basic box container
svalue<-.GHtml | Widget for HTML display
svalue<-.GLabel | Basic label widget
svalue<-.GMenuBar | menu constructor, main and popup
svalue<-.GNotebook | Constructor for a tabbed notebook container
svalue<-.GRadio | Constructor for radio button widget
svalue<-.GToolBar | A toolbar constructor
svalue<-.GTree | constructor for widget to display heirarchical data

## -- T --

tag | get a persistent attribute for an object
tag.default | get a persistent attribute for an object
tag<- | get a persistent attribute for an object
tag<-.default | get a persistent attribute for an object
tooltip | Get a tooltip for the widget
tooltip.default | Get a tooltip for the widget
tooltip<- | Get a tooltip for the widget
tooltip<-.default | Get a tooltip for the widget

## -- U --

unblockHandler | change handler for ggraphics
unblockHandler.default | change handler for ggraphics
unblockHandlers | change handler for ggraphics
unblockHandlers.default | change handler for ggraphics
undo | Undo past action.
undo.GComponent | Undo past action.
update.GComponent | Return items
update.GTree | constructor for widget to display heirarchical data

## -- V --

visible | Controls whether widget is visible or not
visible.default | Controls whether widget is visible or not
visible.GBasicDialog | Constructor for modal dialog that can contain an arbitrary widget
visible.GTable | A constructor for displaying tabular data for selection
visible<- | Controls whether widget is visible or not
visible<-.default | Controls whether widget is visible or not
visible<-.GDf | Constructor for a data frame editor
visible<-.GExpandGroup | Constructor of box container widget with disclosure trigger and label

## -- W --

WSWatcherModel | A class to record the toolkit a gui object uses
WSWatcherModel-class | A class to record the toolkit a gui object uses

## -- X --

XXX | Functions to message something needs doing. Easy to search for

## -- misc --

.addStockIcons | Method to add icon to list of stock icons
.addStockIcons.default | Method to add icon to list of stock icons
.gaction | An action constructor
.galert | Alert dialog to display transient messages
.gbasicdialog | Constructor for modal dialog that can contain an arbitrary widget
.gbutton | Basic button widget
.gcalendar | A constructor for a date selection widget
.gcheckbox | constructor for checkbox widget
.gcheckboxgroup | Constructor for checkbox group. A linked group of checkboxes, but not exclusive.
.gcombobox | constructor for a combobox
.gconfirm | Constructor for modal dialog to get confirmation
.gdf | Constructor for a data frame editor
.gdfnotebook | A notebook container for many 'gdf' instances
.gdfnotebook.default | Toolkit constructor
.gedit | Single line text edit constructor
.getStockIconByName | Method to add icon to list of stock icons
.getStockIconByName.default | Method to add icon to list of stock icons
.getStockIcons | Method to add icon to list of stock icons
.getStockIcons.default | Method to add icon to list of stock icons
.gexpandgroup | Constructor of box container widget with disclosure trigger and label
.gfile | dialog for file and directory selection
.gfilebrowse | dialog for file and directory selection
.gfilter | A widget for filtering a data frame
.gfilter.default | A widget for filtering a data frame
.gformlayout | A form layout container
.gframe | Constructor for framed box container with label
.ggraphics | Constructor for an embeddable graphics device
.ggraphicsnotebook | A notebook widget holding plot devices
.ggraphicsnotebook.default | A notebook widget holding plot devices
.ggroup | Basic box container
.ghtml | Widget for HTML display
.gimage | A widget for displaying an image file
.ginput | Constructor for modal dialog to collect a line of text
.glabel | Basic label widget
.glayout | Constructor for grid layout container
.gmenu | menu constructor, main and popup
.gmessage | Constructor for modal message dialog
.gnotebook | Constructor for a tabbed notebook container
.gpanedgroup | constructor for a two-paned container
.gprogressbar | Basic progress bar widget
.gradio | Constructor for radio button widget
.gseparator | constructor providing a widget for displaying a line in a GUI
.gslider | slider widget constructor
.gspinbutton | Spinbutton constructor
.gstackwidget | Constructor for a stack of widgets
.gstatusbar | constructor to add a status bar to main window
.gtable | A constructor for displaying tabular data for selection
.gtext | Multiline text edit constructor
.gtimer | Basic timer widget
.gtoolbar | A toolbar constructor
.gtree | constructor for widget to display heirarchical data
.gvarbrowser | Constructor for workspace variable browser
.gwindow | gwindow
.make_gcombobox_items | constructor for a combobox
.stockIconFromClass | Method to add icon to list of stock icons
.stockIconFromClass.default | Method to add icon to list of stock icons
.stockIconFromObject | Method to add icon to list of stock icons
.stockIconFromObject.default | Method to add icon to list of stock icons
[.GComponent | Return items
[.GContainer | Return items
[.GDefaultWidget | Return items
[.GDf | Return items
[.GEdit | Return items
[.GFilter | A widget for filtering a data frame
[.GLayout | Constructor for grid layout container
[.GNotebook | Constructor for a tabbed notebook container
[.GTable | A constructor for displaying tabular data for selection
[.GTree | constructor for widget to display heirarchical data
[<-.GCheckbox | constructor for checkbox widget
[<-.GComboBox | constructor for a combobox
[<-.GComponent | Return items
[<-.GLayout | Constructor for grid layout container
[<-.GRadio | Constructor for radio button widget