ruby-****@sourc*****
ruby-****@sourc*****
2004年 3月 3日 (水) 15:44:26 JST
------------------------- REMOTE_ADDR = 161.114.202.20 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/?Gdk%3A%3AEventKey ------------------------- = class Gdk::EventKey Describes a key press or key release event. == Object Hierarchy * Object * GLib::Boxed * Gdk::Event * Gdk::EventAny * Gdk::EventKey == Instance Methods --- time Gets the time of the event in milliseconds. * Returns: the time of the event in milliseconds --- time=(time) Sets the time of the event in milliseconds. * time: the time of the event in milliseconds * Returns: time --- set_time(time) Same as time=. * time: the time of the event in milliseconds * Returns: self --- state Gets the bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See ((<GdkModifierType|Gdk::Window#GdkModifierType>)). * Returns: ((<GdkModifierType|Gdk::Window#GdkModifierType>)) --- state=(state) Sets a bit-mask representing the state of modifier keys. * state: a bit-mask of ((<GdkModifierType|Gdk::Window#GdkModifierType>)). * Returns: self --- set_state(state) Same as state=. * state: a bit-mask of ((<GdkModifierType|Gdk::Window#GdkModifierType>)). * Returns: self --- keyval Gets the GDK key code that was pressed or released. * Returns: GDK key code --- keyval=(keyval) Sets the GDK key code. * keyval: GDK key code * Returns: self --- set_keyval(keyval) - * keyval: GDK key code Same as keyval=. + * keyval: GDK key code * Returns: self --- hardware_keycode Gets the raw code of the key that was pressed or released. * Returns: the raw code of the key --- hardware_keycode=(keycode) Sets the raw code of the key that was pressed or released. * keycode: the raw code of the key * Returns: keycode --- set_hardware_keycode(keycode) Same as hardware_keycode=. * keycode: the raw code of the key * Returns: self --- group Gets the keyboard group. * Returns: the keyboard group --- group=(group) Sets a keyboard group. * group: a new keyboard group(Integer) * Returns: group --- set_group(group) Same as group=. * group: a new keyboard group(Integer) * Returns: self - ((<Masao>))