Crear  Editar  FrontPage  Indexes  Buscar  Cambios  History  RSS  Login

Gdk::EventProximity

class Gdk::EventProximity

Proximity events are generated when using GDK's wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user's finger has moved in or out of contact with a touch screen.

Class Methods

Gdk::EventProximity.new(type)
Creates a new event of the given type. All fields are set to 0. Since 2.2

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 Gdk::EventProximity#time=.
  • time: the time of the event in milliseconds
  • Returns: self
device
Gets the Gdk::Device? where the event originated.
  • Returns: the Gdk::Device? where the event originated.
device=(device)
Sets the Gdk::Device? where the event originated.
  • device: the Gdk::Device? where the event originated.
  • Returns: device
set_device(device)
Same as Gdk::EventProximity#device=.
  • device: the Gdk::Device? where the event originated.
  • Returns: self

-Masao?

Ultimas actualizaciones:2011/06/06 03:00:30
Clave:
Referencias:[Gdk::EventProximity] [Gtk::Widget]