GtkRadioAction {RGtk2} | R Documentation |
An action of which only one in a group can be active
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)
GObject +----GtkAction +----GtkToggleAction +----GtkRadioAction
GtkRadioAction implements
GtkBuildable
.
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.
GtkRadioAction
GtkRadioAction
struct contains
only private members and should not be accessed directly.
gtkRadioAction
is the equivalent of gtkRadioActionNew
.
The (action, current, user.data)
Since 2.4
action
GtkRadioAction
] the action on which the signal is emittedcurrent
GtkRadioAction
] the member of action
s group which has just been activateduser.data
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
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkRadioAction.html