新規作成  編集  Ruby-GNOME2 Project Website  ページ一覧  検索  更新履歴  編集履歴  RSS  ログイン

Gtk::MenuBar

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.

インクルードされているモジュール

  • Gtk::Buildable?
  • Atk::Implementor
  • GLib::Interface?

インスタンスメソッド

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

プロパティ

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

更新履歴

  • 2014-06-16 インクルードされているモジュールの項目を追加。 - きたがわ
  • - Masao?