public static interface Widget.VisibilityNotifyEvent
event
parameter to get to the VisibilityState as follows:
foo.connect(new Widget.VisibilityNotifyEvent() { public boolean onVisibilityNotifyEvent(Widget source, EventVisibility event) { VisibilityState state = event.getState(); if (state == VisibilityState.FULLY_OBSCURED) { ... } } return false; });See
VisibilityState
for the constants
describing the possible three possible changes to an underlying
element's visibility. See also Widget.UnmapEvent
for a
discussion of how this can be used to actively toggle the presentation
of a Window to the user.Modifier and Type | Method and Description |
---|---|
boolean |
onVisibilityNotifyEvent(Widget source,
EventVisibility event)
Although this is an event-signal, this merely reports
information coming from the underlying X11 windowing system.
|
boolean onVisibilityNotifyEvent(Widget source, EventVisibility event)
false
!