Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gdk::EventProperty

class Gdk::EventProperty

Describes a property change on a window.

Class Methods

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

Instance Methods

atom
the property that was changed.
  • Returns: the property(Gdk::Atom) that was changed.
atom=(atom)
Sets the property that was changed.
  • atom: the property(Gdk::Atom) that was changed.
  • Returns: atom
set_atom(atom)
Same as Gdk::EventProperty#atom=.
  • atom: the property(Gdk::Atom) that was changed.
  • Returns: self
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::EventProperty#time=.
  • time: the time of the event in milliseconds
  • Returns: self
state
Gets the value whether the property was changed or deleted.
state=(state)
Sets the value whether the property was changed or deleted.
set_state(state)
Same as Gdk::EventProperty#state=.

Constants

GdkPropertyState

Specifies the type of a property change.

PROPERTY_NEW_VALUE
The property value was changed.
PROPERTY_DELETE
The property was deleted.

-Masao

Ultima modifica:2005/11/17 02:43:41
Parola chiave:
Referenze:[Gtk::Widget] [Gdk::EventProperty]