[ruby-gnome2-doc-cvs] [Hiki] create - Gtk::AccelKey

Back to archive index

ruby-****@sourc***** ruby-****@sourc*****
2004年 11月 1日 (月) 16:57:17 JST


-------------------------
REMOTE_ADDR = 15.211.169.100
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp//?Gtk%3A%3AAccelKey
-------------------------
= class Gtk::AccelKey

== Object Hierarchy
* Object
  * GLib::Boxed
    * Gtk::AccelKey

== Class Methods
--- Gtk::AccelKey.new
    Creates new Gtk::AccelKey.
    * Returns: new Gtk::AccelKey

== Instance Methods
--- key
    Gets the GDK key code.
    * Returns: self
--- key=(key)
    Sets a GDK key code.
    * key: a GDK key code.
    * Returns: key
--- set_key(key)
    Same as key=.
    * key: a GDK key code.
    * Returns: self

--- mods
    Gets the accelerator modifier mask (((<GdkModifierType|Gdk::Window#GdkModifierType>))).
    * Returns: accelerator modifier mask (((<GdkModifierType|Gdk::Window#GdkModifierType>)))
--- mods=(mods)
    Sets the accelerator modifier mask.(((<GdkModifierType|Gdk::Window#GdkModifierType>)))
    (e.g.)Gdk::Window::CONTROL_MASK | Gdk::Window::SHIFT_MASK | Gdk:Window::MOD1_MASK, that is, Control, Shift, and Alt.
    * mods: accelerator modifier mask (((<GdkModifierType|Gdk::Window#GdkModifierType>)))
    * Returns: mods
--- set_mods(mods)
    Same as mods=.
    * mods: accelerator modifier mask (((<GdkModifierType|Gdk::Window#GdkModifierType>)))
    * Returns: self
--- flags
    Gets the accel flags (((<GtkAccelFlags|Gtk#GtkAccelFlags>))).
    * Returns: the accel flags (((<GtkAccelFlags|Gtk#GtkAccelFlags>))).
--- flags=(flags)
    Sets accel flags (((<GtkAccelFlags|Gtk#GtkAccelFlags>))).
    * flags: accel flags (((<GtkAccelFlags|Gtk#GtkAccelFlags>))).
    * Returns: self
--- set_flags
    Same as flags=.
    * flags: accel flags (((<GtkAccelFlags|Gtk#GtkAccelFlags>))).
    * Returns: self

== See Also
Gtk::AccelGroup, Gtk::Accelerator


-((<Masao>))





ruby-gnome2-cvs メーリングリストの案内
Back to archive index