Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getToolkitWidget

Get underlying toolkit widget


Description

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.

Basic S3 method

Get underlying toolkit widget from widget slot. Used internally

method for getWidget

Get underlying toolkit object from block slot

S3 method for getBlock generic

For GWindow, the block is NULL

Get toplevel window containing object

getTopLevel method for components

Usage

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)

Arguments

obj

object


gWidgets2

Rewrite of gWidgets API for Simplified GUI Construction

v1.0-8
GPL (>= 3)
Authors
John Verzani
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.