Libraries:Gtk:Gtk:MenuBar
Types
T
Inherits from:Gtk.Gtk.MenuShell.T, Gtk.Gtk.Container.T, Gtk.Gtk.Widget.T, Gtk.Gtk.Object.T, Gtk.GObject.Object.T
The T is a subclass of Gtk.Gtk.MenuShell.T which contains one to many Gtk.Gtk.MenuItem.T. The result is a standard menu bar which can hold many menu items. T allows for a shadow type to be set for aesthetic purposes. The shadow types are defined in the gtk_menu_bar_set_shadow_type function.
Constants
Nil : T
Functions
GetType() : Gtk.GObject.Type.T
New() : Gtk.Gtk.MenuBar.T
Methods
:GetChildPackDirection(self @ T) : Gtk.Gtk.PackDirection.T
Retrieves the current child pack direction of the menubar. See SetChildPackDirection.
menubar | a T |
Returns | the child pack direction |
:GetPackDirection(self @ T) : Gtk.Gtk.PackDirection.T
Retrieves the current pack direction of the menubar. See SetPackDirection.
menubar | a T |
Returns | the pack direction |
:SetChildPackDirection(self @ T, child_pack_dir @ Gtk.Gtk.PackDirection.T) : Std.Object.T
Sets how widgets should be packed inside the children of a menubar.
menubar | a T |
child_pack_dir | a new Gtk.Gtk.PackDirection.T |
:SetPackDirection(self @ T, pack_dir @ Gtk.Gtk.PackDirection.T) : Std.Object.T
Sets how items should be packed inside a menubar.
menubar | a T |
pack_dir | a new Gtk.Gtk.PackDirection.T |