widgetTools (version 1.50.0)

widgetView-class: Class "widgetView", a class for a GUI type widget holding widget elements

Description

"widgetView" renders element widgets

Arguments

Objects from the Class

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.

Slots

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

Methods

killWin
signature(tkWidget = "widgetView"): destroys the window representing the widgetView
vName<-
signature(object = "widgetView"): set the value for vName
vName
signature(object = "widgetView"): get the value for vName
renderWidgets
signature(widgetView = "widgetView", pWidgets = "list"): takes a list of "basicPW" objects (pWidgets) and renders them accordingly
renewView
signature(widgetView = "widgetView", pWidgets = "list"): using values contained by the "basicPW" objects of pWidgets to update the values of widget elements displayed
theWidget<-
signature(object = "widgetView"): set the value for theWidget
theWidget
signature(object = "widgetView"): get the value for theWidget
updateDisplay
signature(widgetView = "widgetView"): update the value of list box or text box element widgets
widgetids<-
signature(object = "widgetView"): set the value of widgetids
widgetids
signature(object = "widgetView"): get the value of widgetids
winid<-
signature(object = "widgetView"): set the value of winid
winid
signature(object = "widgetView"): set the value of winid
winWait
signature(tkWidget = "widgetView"): make widgetView modal
WVTitle
signature(object = "widgetView"): get the value for WVTitle

References

Programming with data

See Also

widget-class,basicPW-class

Examples

Run this code
## 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)

Run the code above in your browser using DataLab