Pike v8.0 release 1738

Class GTK2.MenuItem

Inheritance graph
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().