Crear  Editar  FrontPage  Indexes  Buscar  Cambios  History  RSS  Login

Gdk::EventSelection

class Gdk::EventSelection

Generated when a selection is requested or ownership of a selection is taken over by another client application.

Class Methods

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

Instance Methods

selection
Gets the selection.
selection=(selection)
Sets the selection
  • selection: the selection(Gdk::Atom)
  • Returns: selection
set_selection(selection)
Same as Gdk::EventSelection#selection=.
  • selection: the selection(Gdk::Atom)
  • Returns: self
target
Gets the target to which the selection should be converted.
target=(target)
Sets the target to which the selection should be converted.
  • target: the target(Gdk::Atom)
  • Returns: target
set_target(target)
Same as Gdk::EventSelection#target=.
  • target: the target(Gdk::Atom)
  • Returns: self
property
Gets the property in which to place the result of the conversion.
property=(property)
Sets the property in which to place the result of the conversion.
  • property: the property(Gdk::Atom)
  • Returns: property
set_property(property)
Same as Gdk::EventSelection#property=.
  • property: the property(Gdk::Atom)
  • 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::EventSelection#time=.
  • time: the time of the event in milliseconds.
  • Returns: self
requestor
Gets the pointer address of the native window on which to place property. This method is not useful for Ruby/GTK2.
  • Returns: the pointer address of the native window on which to place property.
requestor=(req)
Sets the pointer address of the native window on which to place property. This method is not useful for Ruby/GTK2.
  • req: the pointer address of the native window on which to place property.
  • Returns: req
set_requestor(req)
Same as Gdk::EventSelection#requestor=.
  • req: the pointer address of the native window on which to place property.
  • Returns: self

-Masao?

Ultimas actualizaciones:2011/06/26 12:05:52
Clave:
Referencias:[Gtk::Widget] [Gdk::EventSelection]