guiToolkit {gWidgets} | R Documentation

## Function to select the GUI toolkit used by gWidgets

### Description

A GUI toolkit is a separate package that implements the gWidgets API. This function allows one to select the toolkit to be used by default.

### Usage

    guiToolkit(name = NULL)

### Arguments

`name` | The name matches the package name without the initial gWidgets. For instance, "RGtk2" refers to the implementation provided by gWidgetsRGtk2.

### Details

Toolkits are named gWidgetsXXX.

### Value

This function returns a subclass of guiWidgetsToolkit that is used for dispatching purposes by gWidgets. For example, the method svalue dispatches on its first argument and the value of the toolkit class stored in the toolkit slot of the object.

### Examples

            guiToolkit("RGtk2")

[Package gWidgets version 0.0-25 Index]