ruby-****@sourc*****
ruby-****@sourc*****
2005年 1月 27日 (木) 16:33:17 JST
------------------------- REMOTE_ADDR = 15.211.169.100 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp//?Gtk%3A%3ASeparatorToolItem ------------------------- = class Gtk::SeparatorToolItem A Gtk::SeparatorItem is a Gtk::ToolItem that separates groups of other ((<Gtk::ToolItem>))s. 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. == Object Hierarchy * Object * GLib::Instantiatable * GLib::Object * Gtk::Object * Gtk::Widget * Gtk::Container * Gtk::Bin * Gtk::ToolItem * Gtk::SeparatorToolItem == Class Methods --- Gtk::SeparatorToolItem.new Create a new Gtk::SeparatorToolItem. ((* Since 2.4 *)) * Returns: a new Gtk::SeparatorToolItem --- 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 draw=. ((* Since 2.4 *)) * draw: true if separator_tool_item is drawn as a vertical line, otherwise false. * Returns: self == Properties --- draw: true or false (Read/Write) Whether the separator is drawn, or just blank. ((* Since 2.4 *)) * Default value: true == See Also Gtk::Toolbar - The toolbar widget Gtk::RadioToolButton - A toolbar item containing a radio button == ChangeLog * 2005-1-27 Added. - Masao