package Implements_Gtk_Buildable is new Glib.Types.Implements (Gtk.Buildable.Gtk_Buildable, Gtk_Menu_Bar_Record, Gtk_Menu_Bar);
type Gtk_Menu_Bar_Record is new Gtk_Menu_Shell_Record with null record;
type Gtk_Menu_Bar is access all Gtk_Menu_Bar_Record'Class;
Child_Pack_Direction_Property : constant Gtk.Enums.Property_Gtk_Pack_Direction;
Pack_Direction_Property : constant Gtk.Enums.Property_Gtk_Pack_Direction;
procedure Gtk_New
( | Menu_Bar | : out Gtk_Menu_Bar); |
procedure Initialize
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record'Class); |
function Gtk_Menu_Bar_New return Gtk_Menu_Bar;
procedure Gtk_New_From_Model
( | Menu_Bar | : out Gtk_Menu_Bar; |
Model | : not null access Glib.Menu_Model.Gmenu_Model_Record'Class); |
procedure Initialize_From_Model
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record'Class; |
Model | : not null access Glib.Menu_Model.Gmenu_Model_Record'Class); |
function Gtk_Menu_Bar_New_From_Model
( | Model | : not null access Glib.Menu_Model.Gmenu_Model_Record'Class) return Gtk_Menu_Bar; |
function Get_Type return Glib.GType;
function Get_Child_Pack_Direction
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record) return Gtk.Enums.Gtk_Pack_Direction; |
procedure Set_Child_Pack_Direction
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record; |
Child_Pack_Dir | : Gtk.Enums.Gtk_Pack_Direction); |
function Get_Pack_Direction
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record) return Gtk.Enums.Gtk_Pack_Direction; |
procedure Set_Pack_Direction
( | Menu_Bar | : not null access Gtk_Menu_Bar_Record; |
Pack_Dir | : Gtk.Enums.Gtk_Pack_Direction); |
function "+"
( | Widget | : access Gtk_Menu_Bar_Record'Class) return Gtk.Buildable.Gtk_Buildable renames Implements_Gtk_Buildable.To_Interface; |
function "-"
( | Interf | : Gtk.Buildable.Gtk_Buildable) return Gtk_Menu_Bar renames Implements_Gtk_Buildable.To_Object; |
The Gtk.Menu_Bar.Gtk_Menu_Bar is a subclass of Gtk.Menu_Shell.Gtk_Menu_Shell which contains one or more Gtk_Menu_Items.
The result is a standard menu bar which can hold many menu items.