Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gtk::MenuBar

class Gtk::MenuBar

The Gtk::MenuBar is a subclass of Gtk::MenuShell which contains one to many Gtk::MenuItem. The result is a standard menu bar which can hold many menu items.

Instance Methods

pack_direction
Retrieves the current pack direction of the menubar. See Gtk::MenuBar#pack_direction=(pack_dir). Since 2.8
pack_direction=(pack_dir)
Sets how items should be packed inside a menubar. Since 2.8
set_pack_direction(pack_dir)
Same as Gtk::MenuBar#pack_direction=(pack_dir). Since 2.8
  • Returns: self
child_pack_direction
Retrieves the current child pack direction of the menubar. See Gtk::MenuBar#child_pack_direction=(pack_dir). Since 2.8
child_pack_direction=(pack_dir)
Sets how widgets should be packed inside the children of a menubar. Since 2.8
set_child_pack_direction(pack_dir)
Same as Gtk::MenuBar#child_pack_direction=(pack_dir). Since 2.8
  • Returns: self

Properties

pack-direction: Gtk::MenuBar::PackDirection (Read/Write)
The pack direction of the menubar. It determines how menuitems are arranged in the menubar. Default value: LTR. Since 2.8
child-pack-direction: Gtk::MenuBar::PackDirection (Read/Write)
The pack direction of the menubar. It determines how the widgets contained in child menuitems are arranged. Default value: LTR. Since 2.8
Ultima modifica:2005/11/17 02:43:41
Parola chiave:
Referenze:[Gtk::UIManager] [Gtk::MenuBar] [Gtk::MenuShell] [Gtk::ItemFactory] [Gtk::Menu]