ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 16日 (月) 15:36:01 JST
------------------------- REMOTE_ADDR = 106.188.103.9 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AMenuItem ------------------------- @@ -1,9 +1,9 @@ -= class Gtk::MenuItem += Gtk::MenuItem クラス The Gtk::MenuItem widget and the derived widgets are the only valid childs for menus. Their function is to correctly handle highlighting, alignment, events and submenus. As it derives from Gtk::Bin it can hold any valid child widget, altough only a few are really useful. -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object @@ -14,14 +14,20 @@ * Gtk::Item * Gtk::MenuItem -== Class Methods +== インクルードされているモジュール + +* Gtk::Buildable +* Atk::Implementor +* GLib::Interface + +== クラスメソッド --- Gtk::MenuItem.new(label = nil, use_underline = true) Creates a new Gtk::MenuItem. * label: the text label to display next to the radio button. * use_underline: true if the label will be created underscores in label indicate the mnemonic for radio button. * Returns: a new Gtk::MenuItem. -== Instance Methods +== インスタンスメソッド --- right_justified? Gets whether the menu item appears justified at the right side of the menu bar. * Returns : true if the menu item will appear at the far right if added to a menu bar. @@ -68,10 +74,20 @@ * Returns: self --- select + ((*上位クラス(ancestors)のページに要移動?*)) + Emits the "select" signal on the given item. Behaves exactly like Gtk::Item#select. * Returns: self --- deselect + ((*上位クラス(ancestors)のページに要移動?*)) + Emits the "deselect" signal on the given item. Behaves exactly like Gtk::Item#deselect. * Returns: self @@ -88,14 +98,64 @@ * allocation: the allocation to use as signal data. * Returns: self -== Signals +--- use_underline=() + ((*要編集*)) + +--- set_use_underline() + ((*要編集*)) + +--- use_underline?() + ((*要編集*)) + +--- label=() + ((*要編集*)) + +--- set_label() + ((*要編集*)) + +--- label() + ((*要編集*)) + +--- accel_path() + ((*要編集*)) + +== プロパティ +--- use-underline: + ((*要編集*)) + +--- label: + ((*要編集*)) + +--- accel-path: + ((*要編集*)) + +--- submenu: + ((*要編集*)) + +--- right-justified: + ((*要編集*)) + +== シグナル --- select: self + ((*上位クラス(ancestors)のページに要移動?*)) + * self: the object which received the signal. --- deselect: self + ((*上位クラス(ancestors)のページに要移動?*)) + * self: the object which received the signal. - --- activate: self Emitted when the item is activated. * self: the object which received the signal. @@ -111,11 +161,62 @@ --- toggle-size-request: self, requisition * self: the object which received the signal. * requisition: the requisition to use as signal data. - -== See Also +== 関連ページ * Gtk::Bin for how to handle the child. * Gtk::Item is the abstract class for all sorts of items. * Gtk::MenuShell is always the parent of Gtk::MenuItem. -- ((<Masao>)) +== 更新履歴 +* 2014-06-16 クラスのメンバ項目の存在チェック("存在しない?"or"上位クラスのページに要移動?"とマーク)。リストから漏れているものを追加。 - ((<きたがわ>)) +* - ((<Masao>))