gtkToggleActionNew {RGtk2}R Documentation

gtkToggleActionNew

Description

Creates a new GtkToggleAction object. To add the action to a GtkActionGroup and set the accelerator for the action, call gtkActionGroupAddActionWithAccel.

Usage

gtkToggleActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)

Arguments

name [character] A unique name for the action
label [character] The label displayed in menu items and on buttons
tooltip [character] A tooltip for the action
stock.id [character] The stock icon to display in widgets representing the action

Details

Since 2.4

Value

[GtkToggleAction] a new GtkToggleAction

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]