| widgetView-class {widgetTools} | R Documentation |
"widgetView" renders element widgets
Objects can be created by calls of the form new("widgetView",
...). This class is for internal use by class
widget-class. Users trying to create GUI type widget do
not need to use this class.
WVTitle:Object of class "character" - a
character string that will be displayed as the title of the widget
to be created
vName:Object of class "character" - a character
string for the vName of the widget
winid:Object of class "tkwin" - a tkwin object
for the id of the top window for the widget
widgetids:Object of class "list" - a list of
tkwin ids for element widgets
theWidget:Object of class "widget" - a widget
object that creates the widgetView
signature(tkWidget = "widgetView"): destroys
the window representing the widgetView
signature(object = "widgetView"): set the value
for vName
signature(object = "widgetView"): get the value
for vName
signature(widgetView = "widgetView",
pWidgets = "list"): takes a list of "basicPW" objects
(pWidgets) and renders them accordingly
signature(widgetView = "widgetView", pWidgets
= "list"): using values contained by the "basicPW" objects of
pWidgets to update the values of widget elements displayed
signature(object = "widgetView"): set the
value for theWidget
signature(object = "widgetView"): get the
value for theWidget
signature(widgetView = "widgetView"):
update the value of list box or text box element widgets
signature(object = "widgetView"): set the
value of widgetids
signature(object = "widgetView"): get the
value of widgetids
signature(object = "widgetView"): set the
value of winid
signature(object = "widgetView"): set the value
of winid
signature(tkWidget = "widgetView"): make
widgetView modal
signature(object = "widgetView"): get the
value for WVTitle
Jianhua Zhang
Programming with data
## Not run:
## These cannot be run by examples() but should be OK when pasted
## into an interactive R session with the widgetTools package loaded
widgetView <- widgetView(WVTitle = "demo", vName = "widget1")
## End(Not run)