Package: gWidgets2 1.0-9

John Verzani

gWidgets2: Rewrite of gWidgets API for Simplified GUI Construction

Re-implementation of the 'gWidgets' API. The API is defined in this package. A second, toolkit-specific package is required to use it. At this point only 'gWidgets2tcltk' is viable.

Authors:John Verzani

gWidgets2_1.0-9.tar.gz
gWidgets2_1.0-9.zip(r-4.5)gWidgets2_1.0-9.zip(r-4.4)gWidgets2_1.0-9.zip(r-4.3)
gWidgets2_1.0-9.tgz(r-4.4-any)gWidgets2_1.0-9.tgz(r-4.3-any)
gWidgets2_1.0-9.tar.gz(r-4.5-noble)gWidgets2_1.0-9.tar.gz(r-4.4-noble)
gWidgets2_1.0-9.tgz(r-4.4-emscripten)gWidgets2_1.0-9.tgz(r-4.3-emscripten)
gWidgets2.pdf |gWidgets2.html
gWidgets2/json (API)
NEWS

# Install 'gWidgets2' in R:
install.packages('gWidgets2', repos = c('https://gwidgets3.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gwidgets3/gwidgets2/issues

On CRAN:

6.13 score 3 stars 12 packages 77 scripts 3.3k downloads 169 exports 1 dependencies

Last updated 3 years agofrom:1f21cd9b6e. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 08 2024
R-4.5-winNOTENov 08 2024
R-4.5-linuxNOTENov 08 2024
R-4.4-winNOTENov 08 2024
R-4.4-macNOTENov 08 2024
R-4.3-winOKNov 08 2024
R-4.3-macOKNov 08 2024

Exports:.addStockIcons.gaction.galert.gbasicdialog.gbutton.gcalendar.gcheckbox.gcheckboxgroup.gcombobox.gconfirm.gdf.gdfnotebook.gedit.getStockIconByName.getStockIcons.gexpandgroup.gfile.gfilebrowse.gfilter.gformlayout.gframe.ggraphics.ggraphicsnotebook.ggroup.ghtml.gimage.ginput.glabel.glayout.gmenu.gmessage.gnotebook.gpanedgroup.gprogressbar.gradio.gseparator.gslider.gspinbutton.gstackwidget.gstatusbar.gtable.gtext.gtimer.gtoolbar.gtree.gvarbrowser.gwindow.stockIconFromClass.stockIconFromObjectaddaddDragMotionaddDropSourceaddDropTargetaddHandleraddHandlerBluraddHandlerChangedaddHandlerClickedaddHandlerColumnclickedaddHandlerColumnDoubleclickedaddHandlerColumnRightclickedaddHandlerControlclickaddHandlerDestroyaddHandlerDoubleclickaddHandlerExposeaddHandlerFocusaddHandlerIdleaddHandlerKeystrokeaddHandlerMouseMotionaddHandlerRightclickaddHandlerSelectaddHandlerSelectionChangedaddHandlerShiftclickaddHandlerUnrealizeaddPopupMenuaddRightclickPopupMenuaddSpaceaddSpringaddStockIconsblockHandlerblockHandlersdeletedisposeeditableeditable<-enabledenabled<-focusfocus<-fontfont<-gactiongalertgbasicdialoggbuttongcalendargcheckboxgcheckboxgroupgcomboboxgconfirmgdfgdfnotebookgdroplistgeditgetBlockgetStockIconByNamegetStockIconsgetToolkitWidgetgetTopLevelgetWidgetgetWithDefaultgexpandgroupgfilegfilebrowsegfiltergformlayoutgframeggraphicsggraphicsnotebookggroupghtmlgimageginputglabelglayoutgmenugmessagegnotebookgpanedgroupgprogressbargradiogseparatorgslidergspinbuttongstackwidgetgstatusbargtablegtextgtimergtoolbargtoolkitgtreeguiToolkitgvarbrowsergvboxgwindowinsertis_emptyis_MacOSXis_WindowsisExtantredoremoveHandlershort_summarysizesize<-stockIconFromClassstockIconFromObjectsvaluesvalue<-tagtag<-tooltiptooltip<-unblockHandlerunblockHandlersundovisiblevisible<-XXX

Dependencies:digest

Readme and manuals

Help Manual

Help pageTopics
gWidgets2. An API for programming GUIsgWidgets2-package
Toolkit constructor.gdfnotebook.default
Return itemsdim.GComponent dimnames.GComponent dimnames<-.GComponent length.GComponent length<-.GComponent names.GComponent names<-.GComponent names<-.GFrame str.GComponent update.GComponent [.GComponent [.GContainer [.GDefaultWidget [.GDf [.GEdit [<-.GComponent
Add a child object to parent containeradd add.default delete delete.GContainer
change handler for ggraphicsadd3rdMousePopupMenu add3rdmousePopupMenu addDragMotion addDragMotion.default addDropSource addDropSource.default addDropTarget addDropTarget.default addHandler addHandler.default addHandlerBlur addHandlerBlur.default addHandlerChanged addHandlerChanged.default addHandlerChanged.GGraphics addHandlerClicked addHandlerClicked.default addHandlerColumnclicked addHandlerColumnclicked.default addHandlerColumnDoubleclicked addHandlerColumnDoubleclicked.default addHandlerColumnRightclicked addHandlerColumnRightclicked.default addHandlerControlclick addHandlerControlclick.default addHandlerDestroy addHandlerDestroy.default addHandlerDoubleclick addHandlerDoubleclick.default addHandlerExpose addHandlerExpose.default addHandlerFocus addHandlerFocus.default addHandlerIdle addHandlerKeystroke addHandlerKeystroke.default addHandlerMouseMotion addHandlerMouseMotion.default addHandlerRightclick addHandlerRightclick.default addHandlerSelect addHandlerSelect.default addHandlerSelectionChanged addHandlerSelectionChanged.default addHandlerShiftclick addHandlerShiftclick.default addHandlerUnrealize addHandlerUnrealize.default addPopupMenu addPopupMenu.default addRightclickPopupMenu addRightclickPopupMenu.default blockHandler blockHandler.default blockHandlers blockHandlers.default removeHandler removeHandler.default unblockHandler unblockHandler.default unblockHandlers unblockHandlers.default
Add a spring to box containersaddSpace addSpace.GContainer addSpring addSpring.GContainer
Method to add icon to list of stock icons.addStockIcons .addStockIcons.default .getStockIconByName .getStockIconByName.default .getStockIcons .getStockIcons.default .stockIconFromClass .stockIconFromClass.default .stockIconFromObject .stockIconFromObject.default addStockIcons getStockIconByName getStockIcons stockIconFromClass stockIconFromObject
helper function to bypass lack of cached value in method callcall_meth
Method to send message if any depreacted arguments are being usedcheck_deprecated
check that toolkit object return the right classcheck_return_class
Dispose of objectdispose dispose.GComponent
Controls whether widget is editable or noteditable editable.default editable<- editable<-.default
enabledenabled enabled.default enabled<- enabled<-.default
Flatten a nested listflatten
Does widget have focusfocus focus.default focus<- focus<-.default
Returns font specification for widget, if availablefont font.default font<- font<-.default font<-.GText
An action constructor.gaction gaction
Alert dialog to display transient messages.galert galert
Constructor for modal dialog that can contain an arbitrary widget.gbasicdialog dispose.GBasicDialog gbasicdialog visible.GBasicDialog
Basic button widget.gbutton addHandlerChanged.GButton gbutton svalue.GButton
A constructor for a date selection widget.gcalendar addHandlerChanged.GCalendar gcalendar svalue.GCalendar
constructor for checkbox widget.gcheckbox addHandlerChanged.GCheckbox gcheckbox svalue<-.GCheckbox [<-.GCheckbox
Constructor for checkbox group. A linked group of checkboxes, but not exclusive..gcheckboxgroup addHandlerChanged.GCheckboxGroup gcheckboxgroup svalue.GCheckboxGroup
constructor for a combobox.gcombobox .make_gcombobox_items addHandlerChanged.GComboBox gcombobox gdroplist svalue.GComboBox [<-.GComboBox
Constructor for modal dialog to get confirmation.gconfirm gconfirm
Common parts of a container widgetgcontainer
Constructor for a data frame editor.gdf addHandlerChanged.GDf gdf svalue.GDf visible<-.GDf
A notebook container for many 'gdf' instances.gdfnotebook gdfnotebook
Single line text edit constructor.gedit addHandlerChanged.GEdit gedit svalue.GEdit
get index of element of listget_index_in_list
Get an object from an environment specified by a string.get_object_from_string
Get underlying toolkit widgetgetBlock getBlock.GComponent getBlock.GWindow getToolkitWidget getToolkitWidget.default getTopLevel getTopLevel.GComponent getWidget getWidget.GComponent
Return x unless NULL, NA, length 0, ..., in which case we give defaultgetWithDefault
Constructor of box container widget with disclosure trigger and label.gexpandgroup addHandlerChanged.GExpandGroup gexpandgroup visible<-.GExpandGroup
dialog for file and directory selection.gfile .gfilebrowse gfile gfilebrowse
A widget for filtering a data frame.gfilter .gfilter.default gfilter svalue.GFilter [.GFilter
A form layout container.gformlayout gformlayout svalue.GFormLayout
Constructor for framed box container with label.gframe gframe
Constructor for an embeddable graphics device.ggraphics ggraphics
A notebook widget holding plot devices.ggraphicsnotebook .ggraphicsnotebook.default ggraphicsnotebook
Basic box container.ggroup ggroup gvbox svalue<-.GGroup
Widget for HTML display.ghtml ghtml svalue<-.GHtml
A widget for displaying an image file.gimage gimage
Constructor for modal dialog to collect a line of text.ginput ginput
Basic label widget.glabel glabel svalue<-.GLabel
Constructor for grid layout container.glayout glayout [.GLayout [<-.GLayout
menu constructor, main and popup.gmenu add.GMenuBar gmenu svalue.GMenuBar svalue<-.GMenuBar
Constructor for modal message dialog.gmessage gmessage
Constructor for a tabbed notebook container.gnotebook add.GNotebook addHandlerChanged.GNotebook dispose.GNotebook dispose.GStackWidget gnotebook names.GNotebook svalue<-.GNotebook [.GNotebook
constructor for a two-paned container.gpanedgroup gpanedgroup
Basic progress bar widget.gprogressbar gprogressbar
Constructor for radio button widget.gradio gradio svalue.GRadio svalue<-.GRadio [<-.GRadio
constructor providing a widget for displaying a line in a GUI.gseparator gseparator
slider widget constructor.gslider gslider
Spinbutton constructor.gspinbutton gspinbutton
Constructor for a stack of widgets.gstackwidget gstackwidget
constructor to add a status bar to main window.gstatusbar gstatusbar
A constructor for displaying tabular data for selection.gtable addHandlerChanged.GTable addHandlerDoubleclick.GTable gtable size<-.GTable svalue.GTable visible.GTable [.GTable
Multiline text edit constructor.gtext dispose.GText gtext insert insert.GText svalue.GText
Basic timer widget.gtimer gtimer
A toolbar constructor.gtoolbar add.GToolBar gtoolbar svalue<-.GToolBar
Which toolkit are we using?gtoolkit
constructor for widget to display heirarchical data.gtree gtree svalue.GTree svalue<-.GTree update.GTree [.GTree
set or get the current toolkit for gWidgetsguiToolkit
A class to record the toolkit a gui object usesBasicToolkitInterface BasicToolkitInterface-class Command Command-class CommandList CommandList-class CommandStack CommandStack-class guiWidgetsToolkit-class GWidgets2Icons GWidgets2Icons-class Handler Handler-class Observable Observable-class Observer Observer-class WSWatcherModel WSWatcherModel-class
Constructor for workspace variable browser.gvarbrowser gvarbrowser svalue.GVarBrowser
Common parts of a widgetgwidget
gwindow.gwindow add.GWindow dispose.GWindow gwindow
blurb about installationinstalling_gWidgets_toolkits
is value missing, null, 0-length or NA length 1is_empty
Return logical indicating if we are on a macintosh machineis_MacOSX
Return logical indicating if we are on a Windows machineis_Windows
Check if widget is extant.isExtant isExtant.default
constructor for handler objectobserver
Redo past action.redo redo.GComponent
Provide a short summary for an objectshort_summary short_summary.character short_summary.data.frame short_summary.default short_summary.function short_summary.list short_summary.lm short_summary.logical short_summary.matrix short_summary.numeric
Return size (width and height) of widgetsize size.default size<- size<-.default
svaluesvalue svalue.default svalue<- svalue<-.default svalue<-.GFormLayout
get a persistent attribute for an objecttag tag.default tag<- tag<-.default
Get a tooltip for the widgettooltip tooltip.default tooltip<- tooltip<-.default
Undo past action.undo undo.GComponent
Controls whether widget is visible or notvisible visible.default visible<- visible<-.default
Functions to message something needs doing. Easy to search forXXX