Description Methods and Functions Hierarchy Interfaces Detailed Description Structures Convenient Construction Signals Properties Author(s) References
A choice from multiple check menu items
gtkRadioMenuItemNew(group = NULL, show = TRUE)
gtkRadioMenuItemNewWithLabel(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewWithMnemonic(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewFromWidget(group = NULL, show = TRUE)
gtkRadioMenuItemNewWithLabelFromWidget(group = NULL, label, show = TRUE)
gtkRadioMenuItemNewWithMnemonicFromWidget(group = NULL, label, show = TRUE)
gtkRadioMenuItemSetGroup(object, group)
gtkRadioMenuItemGetGroup(object)
gtkRadioMenuItem(group = NULL, label, show = TRUE)
1 2 3 4 5 6 7 8 9 10 | GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkItem
+----GtkMenuItem
+----GtkCheckMenuItem
+----GtkRadioMenuItem
|
GtkRadioMenuItem implements
AtkImplementorIface, GtkBuildable
and GtkActivatable
.
A radio menu item is a check menu item that belongs to a group. At each instant exactly one of the radio menu items from a group is selected.
The group list does not need to be freed, as each GtkRadioMenuItem
will
remove itself and its list item when it is destroyed.
The correct way to create a group of radio menu items is approximatively this:
How to create a group of radio menu items.
1 2 3 4 5 6 7 |
GtkRadioMenuItem
The structure contains only private data that must be accessed through the interface functions.
gtkRadioMenuItem
is the result of collapsing the constructors of GtkRadioMenuItem
(gtkRadioMenuItemNew
, gtkRadioMenuItemNewWithLabel
, gtkRadioMenuItemNewWithMnemonic
, gtkRadioMenuItemNewFromWidget
, gtkRadioMenuItemNewWithMnemonicFromWidget
, gtkRadioMenuItemNewWithLabelFromWidget
) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.
group-changed(radiomenuitem, user.data)
undocumented
radiomenuitem
the object which received the signal.
user.data
user data set when the signal handler was connected.
group
[GtkRadioMenuItem
: * : Write]The radio menu item whose group this widget belongs to. Since 2.8
Derived by RGtkGen from GTK+ documentation
https://developer.gnome.org/gtk2/stable/GtkRadioMenuItem.html
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.