Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

Gdk::EventVisibility

class Gdk::EventVisibility

Generated when the window visibility status has changed.

Class Methods

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

Instance Methods

state
Gets the visibility state. See GdkEventVisibilityState.
  • Returns: the visibility state
state=(state)
Sets the visibility state. See GdkEventVisibilityState.
  • state: a new visibility state
  • Returns: the visibility state
set_state(state)
Same as Gdk::EventVisibility#state=.
  • state: a new visibility state
  • Returns: self

Constants

GdkEventVisibilityState

Specifies the visiblity status of a window

UNOBSCURED
the window is completely visible.
PARTIAL
the window is partially visible.
FULLY_OBSCURED
the window is not visible at all.
Last modified:2008/04/10 11:01:32
Keyword(s):
References:[Gdk::EventVisibility] [Gdk::EventVisibility::State] [Ruby/GDK] [api-gdk-index] [index-ruby-gdk2]