Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Signals Properties Author(s) References
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)
1 2 3 4 | 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
The GtkRadioAction
struct contains
only private members and should not be accessed directly.
gtkRadioAction
is the equivalent of gtkRadioActionNew
.
changed(action, current, user.data)
The ::changed signal is emitted on every member of a radio group when the active member is changed. The signal gets emitted after the ::activate signals for the previous and current active members. Since 2.4
action
the action on which the signal is emitted
current
the member of action
s group which has just been activated
user.data
user data set when the signal handler was connected.
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
https://developer.gnome.org/gtk2/stable/GtkRadioAction.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.