getToolkitWidget: Get underlying toolkit widget

View source: R/methods.R

getToolkitWidgetR Documentation

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.

For GWindow, the block is NULL

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 documentation built on April 3, 2025, 6:18 p.m.