MenuItem.this

Creates a gtk.MenuItem as an exact copy of an existing menu item in a gio.MenuModel

item_index must be valid (ie: be sure to call Menu.modelGetNItems first).

Parameters

model MenuModel
itemIndex int

the index of an item in model

Return Value

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.34