ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 18:23:35 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AToolbar ------------------------- @@ -1,4 +1,4 @@ -= class Gtk::Toolbar += Gtk::Toolbar クラス Gtk::Toolbar is a bar of buttons and other widgets. A toolbar is created with a call to Gtk::Toolbar.new. @@ -7,7 +7,7 @@ Widgets can be visibly grouped by adding gaps between widgets using Gtk::Toolbar#append_space, Gtk::Toolbar#prepend_space, and Gtk::Toolbar#insert_space. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -16,12 +16,18 @@ * Gtk::Container * Gtk::Toolbar -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::Toolbar.new Creates a new toolbar. * Returns: the newly-created toolbar. -== Instance Methods +== インスタンスメソッド --- append(text, tooltip_text = nil, tooltip_private_text = nil, icon = nil) { ... } Adds a new button to the end (right or bottom edges) of the given toolbar. * text: give your toolbar button a label. @@ -142,13 +148,25 @@ * Returns: self --- orientation + ((*上位クラス(ancestors)のページに要移動?*)) + Retrieves the current orientation of the toolbar. See Gtk::Toolbar#orientation=. * Returns: the orientation --- orientation=(orientation) + ((*上位クラス(ancestors)のページに要移動?*)) + Sets whether a toolbar should appear horizontally or vertically. * orientation: a new Gtk::Orientation. * Returns: orientation --- set_orientation(orientation) + ((*上位クラス(ancestors)のページに要移動?*)) + Same as Gtk::Toolbar#orientation=. * orientation: a new Gtk::Orientation. * Returns: self @@ -197,7 +209,58 @@ Unsets toolbar icon size set with Gtk::Toolbar#icon_size=, so that user preferences will be used to determine the icon size. * Returns: self -== Constants +--- relief_style() + ((*要編集*)) + +--- set_drop_highlight_item() + ((*要編集*)) + +--- drop_index() + ((*要編集*)) + +--- nth_item() + ((*要編集*)) + +--- n_items() + ((*要編集*)) + +--- item_index() + ((*要編集*)) + +--- icon_size_set=() + ((*要編集*)) + +--- set_icon_size_set() + ((*要編集*)) + +--- icon_size_set?() + ((*要編集*)) + +--- show_arrow=() + ((*要編集*)) + +--- set_show_arrow() + ((*要編集*)) + +--- show_arrow?() + ((*要編集*)) + +--- focus_home_or_end() + ((*要編集*)) + +== 定数 === GtkToolbarStyle Used to customize the appearance of a Gtk::Toolbar. Note that setting the toolbar style overrides the user's preferences for the default toolbar style. --- ICONS @@ -226,14 +277,79 @@ --- CHILD_WIDGET a standard Gtk::Widget. -== Properties +== プロパティ --- orientation: Integer (Read/Write) + ((*上位クラス(ancestors)のページに要移動?*)) + The orientation of the toolbar --- toolbar-style: Integer (Read/Write) How to draw the toolbar -== Style Properties +--- icon-size-set: + ((*要編集*)) + +--- icon-size: + ((*要編集*)) + +--- tooltips: + ((*要編集*)) + +--- show-arrow: + ((*要編集*)) + +== スタイルプロパティ --- button-relief: Gtk::ReliefStyle (Read) Type of bevel around toolbar buttons @@ -249,14 +314,79 @@ --- space-style: Gtk::Toolbar::SpaceStyle (Read) Whether spacers are vertical lines or just blank -== Child Properties +== チャイルドプロパティ --- expand: true or false (Read/Write) Whether the item should receive extra space when the toolbar grows --- homogeneous: true or false (Read/Write) Whether the item should be the same size as other homogeneous items -== Signals +== シグナル --- orientation-changed: self, orientation Should be used if you wish to perform an action when the orientation of a toolbar is changed. * self: the object which received the signal. @@ -267,12 +332,81 @@ * self: the object which received the signal. * style: the new ((<GtkToolbarStyle|Gtk::Toolbar#GtkToolbarStyle>)) of toolbar. -== See Also -* Gtk::Tooltips - Change the properties of a Gtk::Toolbar's tooltips. +--- focus-home-or-end: + ((*要編集*)) +--- popup-context-menu: + ((*要編集*)) -== ChangeLog +== 関連ページ +* Gtk::Tooltips - Change the properties of a Gtk::Toolbar's tooltips. + +== 更新履歴 +* 2014-06-16 クラスのメンバ項目の存在チェック("存在しない?"or"上位クラスのページに要移動?"とマーク)。リストから漏れているものを追加。 - ((<きたがわ>)) * 2005-05-07 Added Child/Style properties. - ((<Masao>)) * 2003-05-26 Added - ((<Masao>)) - -