MenuItem.this

Creates a new GtkMenuItem whose child is a GtkLabel.

Parameters

label string

the text for the label

mnemonic bool

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

Throws

ConstructionException GTK+ fails to create the object.