Class: Gtk::MenuBar

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Instance Method Details

#child_pack_directionGtk::PackDirection

The child pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged.

Returns:

#child_pack_direction=(child_pack_direction) ⇒ Gtk::PackDirection

The child pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged.

Parameters:

Returns:

#newGtk::Widget

Creates a new Gtk::MenuBar

Returns:

#new_from_model(model) ⇒ Gtk::Widget

Creates a new Gtk::MenuBar and populates it with menu items and submenus according to model.

The created menu items are connected to actions found in the Gtk::ApplicationWindow to which the menu bar belongs - typically by means of being contained within the Gtk::ApplicationWindows widget hierarchy.

Parameters:

Returns:

#pack_directionGtk::PackDirection

The pack direction of the menubar. It determines how menuitems are arranged in the menubar.

Returns:

#pack_direction=(pack_direction) ⇒ Gtk::PackDirection

The pack direction of the menubar. It determines how menuitems are arranged in the menubar.

Parameters:

Returns: