At times a user may wish to access the underlying toolkit widget. Although this is not cross-platform, one often has access to many more methods of the object, than through those provided by gWidgets.
For GWindow, the block is NULL
getToolkitWidget(obj)# S3 method for default
getToolkitWidget(obj)
getWidget(obj)
# S3 method for GComponent
getWidget(obj)
getBlock(obj)
# S3 method for GComponent
getBlock(obj)
# S3 method for GWindow
getBlock(obj)
getTopLevel(obj)
# S3 method for GComponent
getTopLevel(obj)
object