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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | getToolkitWidget(obj)
## Default S3 method:
getToolkitWidget(obj)
getWidget(obj)
## S3 method for class 'GComponent'
getWidget(obj)
getBlock(obj)
## S3 method for class 'GComponent'
getBlock(obj)
## S3 method for class 'GWindow'
getBlock(obj)
getTopLevel(obj)
## S3 method for class 'GComponent'
getTopLevel(obj)
|
obj |
object |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.