MenuItem.newWithMnemonic

Creates a new #GtkMenuItem containing a label.

The label will be created using gtk.label.Label.newWithMnemonic, so underscores in label indicate the mnemonic for the menu item.

class MenuItem
static
newWithMnemonic
(
string label
)

Parameters

label string

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

Return Value

Type: gtk.menu_item.MenuItem

a new #GtkMenuItem