Crea  Modifica  FrontPage  Indici  Cerca  Ultime modifiche  History  RSS  Login

Gdk::EventFocus

class Gdk::EventFocus

Describes a change of keyboard focus.

Class Methods

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

Instance Methods

in?
Gets the value whether the window has gained the keyboard focus or has lost the focus.
  • Returns: true if the window has gained the keyboard focus, false if it has lost the focus.
in=(val)
Sets the value whether the window has gained the keyboard focus or has lost the focus.
  • val: true if the window has gained the keyboard focus, false if it has lost the focus.
  • Returns: val
set_in(val)
Same as Gdk::EventFocus#in=.
  • val: true if the window has gained the keyboard focus, false if it has lost the focus.
  • Returns: self

-Masao

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