ruby-****@sourc*****
ruby-****@sourc*****
2014年 6月 15日 (日) 18:32:44 JST
------------------------- REMOTE_ADDR = 106.188.30.133 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Gtk%3A%3AAccelGroup ------------------------- @@ -1,4 +1,4 @@ -= class Gtk::AccelGroup += Gtk::AccelGroup クラス A Gtk::AccelGroup represents a group of keyboard accelerators, typically attached to a toplevel Gtk::Window (with Gtk::Window#add_accel_group. Usually you won't need to create a Gtk::AccelGroup directly; instead, when using Gtk::ItemFactory, Ruby/GTK2 automatically sets up the accelerators for your menus in the item factory's Gtk::AccelGroup. ((*Note*)) @@ -28,13 +28,13 @@ win = Gtk::Window.new.add_accel_group(ag).show_all Gtk.main -== Object Hierarchy +== オブジェクト階層 * Object * GLib::Instantiatable * GLib::Object * Gtk::AccelGroup -== Class Methods +== クラスメソッド --- Gtk::AccelGroup.new Creates a new Gtk::AccelGroup. * Returns: a new Gtk::AccelGroup @@ -56,7 +56,7 @@ * object: a GLib::Object, usually a Gtk::Window * Returns: an Array of all accel groups which are attached to object -== Instance Methods +== インスタンスメソッド --- connect(accel_key, accel_mods, accel_flags, closure) --- connect(accel_key, accel_mods, accel_flags) {...} Installs an accelerator in this group. When accel_group is being activated in response to a call to Gtk::AccelGroup.activate, closure or block will be invoked if the accel_key and accel_mods from Gtk::AccelGroup.activate match those of this connection. @@ -107,8 +107,24 @@ * {...}: a block to filter the entries of accel_group with * Returns: the key of the first entry passing find_func. The key is owned by GTK+ and must not be freed. +--- activate() + ((*要編集*)) + +--- modifier_mask() + ((*要編集*)) + +--- locked?() + ((*要編集*)) + + +== プロパティ +--- modifier-mask: + ((*要編集*)) + +--- is-locked: + ((*要編集*)) -== Signals +== シグナル --- accel-activate: self, arg1, accel_key, accel_mods * self: Gtk::AccelGroup * arg1: GLib::Object @@ -120,9 +136,27 @@ * accel_key: Key code constants of Gdk::Keyval * accel_mods: ((<GdkModifierType|Gdk::Window#GdkModifierType>)). -== See Also +== 関連ページ Gtk::Window#add_accel_group, Gtk::AccelMap#change_entry, Gtk::ItemFactory.new, Gtk::Label.new +== 更新履歴 +* 2014-06-15 クラスのメンバ項目の存在チェック("存在しない?"とマーク)。リストから漏れているものを追加。 - ((<きたがわ>)) * 2003-05-07 ((<Masao>)): Modified. * 2003-04-24 ((<Masao>)): Moved from The RWiki and modified. * 2003-04-23 ((<TAMURA>))