Sets our main struct and passes it to the parent class.
Creates a new gtk.MenuBar
Creates a new gtk.MenuBar and populates it with menu items and submenus according to model.
Retrieves the current child pack direction of the menubar. See Menu.barSetChildPackDirection.
Get the main Gtk struct
Retrieves the current pack direction of the menubar. See Menu.barSetPackDirection.
the main Gtk struct as a void*
Sets how widgets should be packed inside the children of a menubar.
Sets how items should be packed inside a menubar.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Activates the menu item within the menu shell.
Adds a new gtk.MenuItem to the end of the menu shell's item list.
Establishes a binding between a gtk.MenuShell and a gio.MenuModel
Cancels the selection within the menu shell.
Deactivates the menu shell.
Deselects the currently selected item from the menu shell, if any.
Gets the parent menu shell.
Gets the currently selected item.
Returns TRUE if the menu shell will take the keyboard focus on popup.
Adds a new gtk.MenuItem to the menu shell’s item list at the position indicated by position.
Adds a new gtk.MenuItem to the beginning of the menu shell's item list.
Select the first visible or selectable child of the menu shell; don’t select tearoff items unless the only item is a tearoff item.
Selects the menu item from the menu shell.
If take_focus is TRUE (the default) the menu shell will take the keyboard focus so that it will receive all keyboard events which is needed to enable keyboard navigation in menus.
An action signal that activates the current menu item within the menu shell.
An action signal which cancels the selection within the menu shell. Causes the selection-done signal to be emitted.
A keybinding signal which moves the focus in the given direction.
This signal is emitted when a menu shell is deactivated.
The ::insert signal is emitted when a new gtk.MenuItem is added to a gtk.MenuShell A separate signal is used instead of GtkContainer::add because of the need for an additional position parameter.
An keybinding signal which moves the current menu item in the direction specified by direction.
The ::move-selected signal is emitted to move the selection to another item.
This signal is emitted when a selection has been completed within a menu shell.
The gtk.MenuBar is a subclass of gtk.MenuShell which contains one or more gtk.MenuItems The result is a standard menu bar which can hold many menu items.
CSS nodes
GtkMenuBar has a single CSS node with name menubar.