Learn R Programming

RGtk2 (version 2.20.31)

GtkRadioAction: GtkRadioAction

Description

An action of which only one in a group can be active

Arguments

Methods and Functions

gtkRadioActionNew(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL) gtkRadioActionGetGroup(object) gtkRadioActionSetGroup(object, group) gtkRadioActionGetCurrentValue(object) gtkRadioActionSetCurrentValue(object, current.value) gtkRadioAction(name = NULL, label = NULL, tooltip = NULL, stock.id = NULL, value = NULL)

Hierarchy

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

Interfaces

GtkRadioAction implements GtkBuildable.

Detailed Description

A GtkRadioAction is similar to GtkRadioMenuItem. A number of radio actions can be linked together so that only one may be active at any one time.

Structures

Convenient Construction

gtkRadioAction is the equivalent of gtkRadioActionNew.

Signals

Properties

current-value [integer : Read / Write]
The value property of the currently active member of the group to which this action belongs. Default value: 0 Since 2.10
group [GtkRadioAction : * : Write]
Sets a new group for a radio action. Since 2.4
value [integer : Read / Write]
The value is an arbitrary integer which can be used as a convenient way to determine which action in the group is currently active in an ::activate or ::changed signal handler. See gtkRadioActionGetCurrentValue and GtkRadioActionEntry for convenient ways to get and set this property. Default value: 0 Since 2.4

References

http://library.gnome.org/devel//gtk/GtkRadioAction.html