_
BarGtk_Menu_Bar is a subclass of Gtk_Menu_Shell which contains one to many Gtk_Menu_Item. The result is a standard menu bar which can hold many menu items. Gtk_Menu_Bar allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the Set_Shadow_Type function.
Widget Hierarchy |
---|
Gtk_Object (see section Package Gtk.Object) \___ Gtk_Widget (see section Package Gtk.Widget) \___ Gtk_Container (see section Package Gtk.Container) \___ Gtk_Menu_Shell (see section Package Gtk.Menu |
Subprograms |
---|
procedure Gtk_New (Menu_Bar : out Gtk_Menu_Bar); | ||
Create a menu bar.
| ||
function Get_Type return Gtk.Gtk_Type; | ||
Return the internal value associated with a Gtk_Menu_Bar.
| ||
procedure Append (Menu_Bar : access Gtk_Menu_Bar_Record; Child : access Gtk.Menu_Item.Gtk_Menu_Item_Record'Class); | ||
Add a new Gtk_Menu_Item to the end of the Gtk_Menu_Bar.
| ||
procedure Insert (Menu_Bar : access Gtk_Menu_Bar_Record; Child : access Gtk.Menu_Item.Gtk_Menu_Item_Record'Class; Position : in Gint); | ||
Add a new Gtk_Menu_Item to the Gtk_Menu_Bar at a specified position. | ||
procedure Prepend (Menu_Bar : access Gtk_Menu_Bar_Record; Child : access Gtk.Menu_Item.Gtk_Menu_Item_Record'Class); | ||
Add a new Gtk_Menu_Item to the beginning of the Gtk_Menu_Bar.
| ||
procedure Set_Shadow_Type (Menu_Bar : access Gtk_Menu_Bar_Record; The_Type : in Gtk_Shadow_Type); | ||
Set the shadow type to use on the Gtk_Menu_Bar.
|