Widget.addOnVisibilityNotify

The ::visibility-notify-event will be emitted when the @widget's window is obscured or unobscured.

To receive this signal the #GdkWindow associated to the widget needs to enable the #GDK_VISIBILITY_NOTIFY_MASK mask.

More...
  1. gulong addOnVisibilityNotify(bool delegate(GdkEventVisibility*, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    addOnVisibilityNotify
  2. gulong addOnVisibilityNotify(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)

Return Value

Type: gulong

%TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.

Detailed Description

Deprecated: Modern composited windowing systems with pervasive transparency make it impossible to track the visibility of a window reliably, so this signal can not be guaranteed to provide useful information.

Meta