Sets our main struct and passes it to the parent class.
Creates a new #GtkMenuBar
Creates a new #GtkMenuBar and populates it with menu items and submenus according to @model.
Retrieves the current child pack direction of the menubar. See gtk_menu_bar_set_child_pack_direction().
Get the main Gtk struct
Retrieves the current pack direction of the menubar. See gtk_menu_bar_set_pack_direction().
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 #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.
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 #GtkMenuShell::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 #GtkMenuItem is added to a #GtkMenuShell. 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 #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.