MenuItem.newWithLabel

gtk.menu_item.MenuItem newWithLabel(string label)

Creates a new #GtkMenuItem whose child is a #GtkLabel.

Parameters

labelthe text for the label

Returns

the newly created #GtkMenuItem