[ruby-gnome2-doc-cvs] [Hiki] create - Gdk::EventMotion

アーカイブの一覧に戻る

ruby-****@sourc***** ruby-****@sourc*****
2004年 3月 3日 (水) 18:31:26 JST


-------------------------
REMOTE_ADDR = 161.114.202.20
REMOTE_HOST = 
        URL = http://ruby-gnome2.sourceforge.jp/?Gdk%3A%3AEventMotion
-------------------------
= class Gdk::EventMotion
Generated when the pointer moves. 
== Object Hierarchy
* Object
  * GLib::Boxed
    * Gdk::Event
      * Gdk::EventAny
        * Gdk::EventMotion

== 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

--- x
    Gets the x coordinate of the pointer relative to the window. 
    * Returns: the x coordinate of the pointer relative to the window
--- x=(x)
    Sets the x coordinate of the pointer relative to the window. 
    * x: the x coordinate of the pointer relative to the window
    * Returns: x
--- set_x(x)
    Same as x=.
    * x: the x coordinate of the pointer relative to the window
    * Returns: self

--- y
    Gets the y coordinate of the pointer relative to the window. 
    * Returns: the y coordinate of the pointer relative to the window
--- y=(y)
    Sets the y coordinate of the pointer relative to the window. 
    * y: the y coordinate of the pointer relative to the window
    * Returns: y
--- set_y(y)
    Same as y=.
    * y: the y coordinate of the pointer relative to the window
    * Returns: self


--- axes
    x, y translated to the axes of device, or nil if device is the mouse. 
    * Returns: [x, y] or nil
--- set_axes(x, y)
    Set the axes of device.
    * x: the x coordinate of the axes of device
    * y: the y coordinate of the axes of device
    * 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

--- hint?
    Gets the value if this event is just a hint. See hint=.
    * Returns: self
--- hint=(hint)
    set to true if this event is just a hint, see the Gdk::Event::POINTER_MOTION_HINT_MASK value of ((<GdkEventMask|Gdk::Event#GdkEventMask>)). 
    * hint: true if this event is just a hint, otherwise false.
    * Returns: hint
--- set_hint(hint)
    Same as hint=.
    * hint: true if this event is just a hint, otherwise false.
    * Returns: self

--- device
    Gets the device where the event originated. 
    * Returns: device(Gdk::Device)
--- device=(device)
    Sets the device where the event originated.
    * device: device(Gdk::Device)
    * Returns: device
--- set_device(device)
    Same as device=.
    * device: device(Gdk::Device)
    * Returns: self

--- x_root
    Gets the x coordinate of the pointer relative to the root of the screen. 
    * Returns: the x coordinate of the pointer relative to the root of the screen
--- x_root=(x_root)
    Sets the x coordinate of the pointer relative to the root of the screen. 
    * x_root: the x coordinate of the pointer relative to the root of the screen
    * Returns: x_root
--- set_x_root(x_root)
    Same as x_root=.
    * x_root: the x coordinate of the pointer relative to the root of the screen
    * Returns: self

--- y_root
    Gets the y coordinate of the pointer relative to the root of the screen. 
    * Returns: the y coordinate of the pointer relative to the root of the screen
--- y_root=(y_root)
    Sets the y coordinate of the pointer relative to the root of the screen. 
    * y_root: the y coordinate of the pointer relative to the root of the screen
    * Returns: y_root
--- set_y_root(y_root)
    Same as y_root=.
    * y_root: the y coordinate of the pointer relative to the root of the screen
    * Returns: self


- ((<Masao>))






ruby-gnome2-cvs メーリングリストの案内
アーカイブの一覧に戻る