GtkRadioAction

0th

Percentile

GtkRadioAction

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

Keywords
internal
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

Aliases
  • GtkRadioAction
  • gtkRadioAction
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.