Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

Class GTK2.MenuItem

Inheritance graph
GTK2.Activatable GTK2.G.Object GTK2.G.InitiallyUnowned GTK2.Object GTK2.Widget GTK2.Container GTK2.Bin GTK2.Item GTK2.MenuItem GTK2.CheckMenuItem GTK2.ImageMenuItem GTK2.SeparatorMenuItem GTK2.TearoffMenuItem
Description

Menu items, to be added to menus. Properties GTK2.Menu submenu

Style properties: int arrow-spacing int horizontal-padding int selected-shadow-type int toggle-spacing

Signals: activate

activate_item

toggle_size_allocate

toggle_size_request


Inherit Activatable

inherit GTK2.Activatable : Activatable


Inherit Item

inherit GTK2.Item : Item


Method create

GTK2.MenuItem GTK2.MenuItem(string|mapping label_or_props)

Description

If a string is supplied, a W(Label) widget is created using that string and added to the item. Otherwise, you should add another widget to the list item with ->add().