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

Gtk::SeparatorToolItem

Gtk::SeparatorToolItem クラス

A Gtk::SeparatorItem? is a Gtk::ToolItem that separates groups of other Gtk::ToolItems. Depending on the theme, a Gtk::SeparatorToolItem will often look like a vertical line on horizontally docked toolbars.

If the property "expand" is true and the property "draw" is false, a Gtk::SeparatorToolItem will act as a "spring" that forces other items to the ends of the toolbar.

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

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

クラスメソッド

Gtk::SeparatorToolItem.new
Create a new Gtk::SeparatorToolItem. Since 2.4
draw?

存在しない?

Returns whether separator_tool_item is drawn as a line. Since 2.4

  • Returns: true if separator_tool_item is drawn as a line, or just blank.
draw=(draw)

存在しない?

When separator_tool_items is drawn as a vertical line, or just blank. Setting this false along with Gtk::ToolItem#expand= is useful to create an item that forces following items to the end of the toolbar. Since 2.4

  • draw: true if separator_tool_item is drawn as a vertical line, otherwise false.
  • Returns: draw
set_draw(draw)

存在しない?

Same as Gtk::SeparatorToolItem.draw=. Since 2.4

  • draw: true if separator_tool_item is drawn as a vertical line, otherwise false.
  • Returns: self

プロパティ

draw: true or false (Read/Write)
Whether the separator is drawn, or just blank. Since 2.4
  • Default value: true

関連ページ

Gtk::Toolbar - The toolbar widget

Gtk::RadioToolButton - A toolbar item containing a radio button

更新履歴

  • 2014-06-16 クラスのメンバ項目の存在チェック("存在しない?"とマーク)。リストから漏れているものを追加。 - きたがわ
  • 2005-1-27 Added. - Masao
更新日時:2014/06/16 17:35:24
キーワード:
参照:[Ruby/GTK Object Hierarchy] [Gtk::SeparatorToolItem] [Gtk::ToggleToolButton] [Gtk::UIManager] [Ruby/GTK] [Gtk::ToolButton] [Gtk::ToolItem]