type Gtk_Menu_Shell_Record is new Gtk.Container.Gtk_Container_Record with private;
type Gtk_Menu_Shell is access all Gtk_Menu_Shell_Record'Class;
Take_Focus_Property : constant Glib.Properties.Property_Boolean;
Signal_Activate_Current : constant Glib.Signal_Name := "activate_current";
Signal_Cancel : constant Glib.Signal_Name := "cancel";
Signal_Cycle_Focus : constant Glib.Signal_Name := "cycle_focus";
Signal_Deactivate : constant Glib.Signal_Name := "deactivate";
Signal_Move_Current : constant Glib.Signal_Name := "move_current";
Signal_Selection_Done : constant Glib.Signal_Name := "selection-done";
function Get_Type return Gtk.Gtk_Type;
procedure Append
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Child | : access Gtk_Menu_Item_Record'Class); |
procedure Prepend
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Child | : access Gtk_Menu_Item_Record'Class); |
procedure Insert
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Child | : access Gtk_Menu_Item_Record'Class; | |
Position | : Gint); |
procedure Set_Take_Focus
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Take_Focus | : Boolean := True); |
function Get_Take_Focus
( | Menu_Shell | : access Gtk_Menu_Shell_Record) return Boolean; |
procedure Select_First
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Search_Sensitive | : Boolean); |
procedure Deactivate
( | Menu_Shell | : access Gtk_Menu_Shell_Record); |
procedure Select_Item
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Item | : access Gtk_Menu_Item_Record'Class); |
procedure Deselect
( | Menu_Shell | : access Gtk_Menu_Shell_Record); |
procedure Activate_Item
( | Menu_Shell | : access Gtk_Menu_Shell_Record; |
Item | : access Gtk_Menu_Item_Record'Class; | |
Force_Deactivate | : Boolean); |
procedure Cancel
( | Menu_Shell | : access Gtk_Menu_Shell_Record); |
This widget is a base class for all menu widgets. It contains a list of items that can be navigated, selected and activated by the user.
It can not be instantiated directly.
A menu is considered "active" when it is displayed on the screen, or, in the case of a menu_bar when one of its menus is active.
An item is "selected" if it is displayed in a prelight state and its submenu (if any) displayed.
Binding from C File version 2.8.17