A choice from multiple check menu items
Class GtkRadioMenuItem( group )
group | An existing GtkRadioMenuItem, or nil to make a new group of items. |
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.
[...]
Methods | |
new_with_label | Creates a new GtkRadioMenuItem whose child is a simple GtkLabel. |
new_with_mnemonic | Creates a new GtkRadioMenuItem containing a label. |
signal_group_changed | . |
Creates a new GtkRadioMenuItem whose child is a simple GtkLabel.
GtkRadioMenuItem.new_with_label( group, label )
group | an existing GtkRadioMenuItem, or nil to make a new group of items. |
label | the text for the label |
Return | a new GtkRadioMenuItem |
The new GtkRadioMenuItem is added to the same group as group.
Creates a new GtkRadioMenuItem containing a label.
GtkRadioMenuItem.new_with_mnemonic( group, label )
group | An existing GtkRadioMenuItem, or nil to make a new group of items. |
label | the text of the button, with an underscore in front of the mnemonic character |
Return | a new GtkRadioMenuItem |
The label will be created using gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the menu item.
The new GtkRadioMenuItem is added to the same group as group.
.
GtkRadioMenuItem.signal_group_changed()