Creates a new #GtkRadioMenuItem.
Connect to GroupChanged signal.
Returns the group to which the radio menu item belongs, as a #GList of #GtkRadioMenuItem. The list belongs to GTK+ and should not be freed.
Joins a #GtkRadioMenuItem object to the group of another #GtkRadioMenuItem object.
Returns this, for use in with statements.
Sets the group of a radio menu item, or changes it.
Set group property.
Get builder for gtk.radio_menu_item.RadioMenuItem
Creates a new #GtkRadioMenuItem adding it to the same group as group.
Creates a new #GtkRadioMenuItem whose child is a simple #GtkLabel.
Creates a new GtkRadioMenuItem whose child is a simple GtkLabel. The new #GtkRadioMenuItem is added to the same group as group.
Creates a new #GtkRadioMenuItem containing a label. The label will be created using gtk.label.Label.newWithMnemonic, so underscores in label indicate the mnemonic for the menu item.
Creates a new GtkRadioMenuItem containing a label. The label will be created using gtk.label.Label.newWithMnemonic, so underscores in label indicate the mnemonic for the menu item.
Returns this, for use in with statements.
Get builder for gtk.check_menu_item.CheckMenuItem
Creates a new #GtkCheckMenuItem with a label.
Creates a new #GtkCheckMenuItem containing a label. The label will be created using gtk.label.Label.newWithMnemonic, so underscores in label indicate the mnemonic for the menu item.
Returns whether the check menu item is active. See gtk_check_menu_item_set_active ().
Returns whether check_menu_item looks like a #GtkRadioMenuItem
Retrieves the value set by gtk.check_menu_item.CheckMenuItem.setInconsistent.
Sets the active state of the menu item’s check box.
Sets whether check_menu_item is drawn like a #GtkRadioMenuItem
If the user has selected a range of elements (such as some text or spreadsheet cells) that are affected by a boolean setting, and the current values in that range are inconsistent, you may want to display the check in an “in between” state. This function turns on “in between” display. Normally you would turn off the inconsistent state again if the user explicitly selects a setting. This has to be done manually, gtk.check_menu_item.CheckMenuItem.setInconsistent only affects visual appearance, it doesn’t affect the semantics of the widget.
Emits the #GtkCheckMenuItem::toggled signal.
Connect to Toggled signal.
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.
CSS nodes
GtkRadioMenuItem has a main CSS node with name menuitem, and a subnode with name radio, which gets the .left or .right style class.