GtkToggleAction {RGtk2}R Documentation

GtkToggleAction

Description

An action which can be toggled between two states

Methods and Functions

gtkToggleActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)
gtkToggleActionToggled(object)
gtkToggleActionSetActive(object, is.active)
gtkToggleActionGetActive(object)
gtkToggleActionSetDrawAsRadio(object, draw.as.radio)
gtkToggleActionGetDrawAsRadio(object)
gtkToggleAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL)

Hierarchy

  GObject
   +----GtkAction
         +----GtkToggleAction
               +----GtkRadioAction

Detailed Description

A GtkToggleAction corresponds roughly to a GtkCheckMenuItem. It has an "active" state specifying whether the action has been checked or not.

Structures

GtkToggleAction
The GtkToggleAction struct contains only private members and should not be accessed directly.

Convenient Construction

gtkToggleAction is the equivalent of gtkToggleActionNew.

Signals

toggled(toggleaction, user.data)

toggleaction
[GtkToggleAction] the object which received the signal.
user.data
[R object] user data set when the signal handler was connected.

Properties

draw-as-radio [logical : Read / Write]

Whether the proxies for this action look like radio action proxies. Default value: FALSE

Author(s)

Derived by RGtkGen from GTK+ documentation

References

http://developer.gnome.org/doc/API/2.0/gtk/GtkToggleAction.html


[Package RGtk2 version 2.8.5 Index]