RadioMenuItem.newWithMnemonicFromWidget

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.

The new #GtkRadioMenuItem is added to the same group as group.

class RadioMenuItem
static
newWithMnemonicFromWidget
(,
string label = null
)

Parameters

group gtk.radio_menu_item.RadioMenuItem

An existing #GtkRadioMenuItem

label string

the text of the button, with an underscore in front of the mnemonic character

Return Value

Type: gtk.radio_menu_item.RadioMenuItem

The new #GtkRadioMenuItem