Extracted from Pike v8.0 release 240 as of 2016-05-30.
   

Class GTK2.MenuShell

Inheritance graph
GTK2.G.Object GTK2.G.InitiallyUnowned GTK2.Object GTK2.Widget GTK2.Container GTK2.MenuShell GTK2.Menu GTK2.MenuBar
Description

A GTK2.MenuShell is the abstract base class used to derive the W(Menu) and W(MenuBar) subclasses.

A GTK2.MenuShell is a container of W(MenuItem) objects arranged in a list which can be navigated, selected, and activated by the user to perform application functions. A W(MenuItem) can have a submenu associated with it, allowing for nested hierarchical menus.

Signals: activate_current An action signal that activates the current menu item within the menu shell.

cancel An action signal which cancels the selection within the menu shell. Causes the selection-done signal to be emitted.

cycle_focus

deactivate This signal is emitted when a menu shell is deactivated.

move_current An action signal which moves the current menu item in the direction specified.

move_selected

selection_done This signal is emitted when a selection has been completed within a menu shell.


Inherit Container

inherit GTK2.Container : Container