Retrieves the current child pack direction of the menubar. See gtk.menu_bar.MenuBar.setChildPackDirection.
Retrieves the current pack direction of the menubar. See gtk.menu_bar.MenuBar.setPackDirection.
Returns this, for use in with statements.
Sets how widgets should be packed inside the children of a menubar.
Sets how items should be packed inside a menubar.
Get childPackDirection property.
Set childPackDirection property.
Get packDirection property.
Set packDirection property.
Get builder for gtk.menu_bar.MenuBar
Creates a new #GtkMenuBar and populates it with menu items and submenus according to model.
Returns this, for use in with statements.
Get builder for gtk.menu_shell.MenuShell
Get takeFocus property.
Set takeFocus property.
Activates the menu item within the menu shell.
Adds a new #GtkMenuItem to the end of the menu shell's item list.
Establishes a binding between a #GtkMenuShell and a #GMenuModel.
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 #GtkMenuItem to the menu shell’s item list at the position indicated by position.
Adds a new #GtkMenuItem 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.
Connect to ActivateCurrent signal.
Connect to Cancel signal.
Connect to CycleFocus signal.
Connect to Deactivate signal.
Connect to Insert signal.
Connect to MoveCurrent signal.
Connect to MoveSelected signal.
Connect to SelectionDone signal.
The #GtkMenuBar is a subclass of #GtkMenuShell which contains one or more #GtkMenuItems. The result is a standard menu bar which can hold many menu items.
CSS nodes
GtkMenuBar has a single CSS node with name menubar.