gcontainer: Common parts of a container widget

Description Usage Arguments

View source: R/methods.R


Used as template for documentation


gcontainer(container = NULL, ..., toolkit = guiToolkit())



A parent container. When a widget is created it can be incorporated into the widget heirarchy by passing in a parent container at construction time. (For some toolkits this is not optional, e.g. gWidgets2tcltk or gWidgets2WWW2.)


These values are passed to the add method of the parent container, and occasionally have been used to sneak in hidden arguments to toolkit implementations.


Each widget constructor is passed in the toolkit it will use. This is typically done using the default, which will lookup the toolkit through guiToolkit.

gWidgets2 documentation built on May 29, 2017, 9:20 p.m.