MenuItem.newWithLabel

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

class MenuItem
static
newWithLabel
(
string label
)

Parameters

label string

the text for the label

Return Value

Type: gtk.menu_item.MenuItem

the newly created #GtkMenuItem