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 gtk_label_new_with_mnemonic(), so underscores in label indicate the mnemonic for the menu item.

Throws

ConstructionException GTK+ fails to create the object.

Meta