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. void addOnVisibilityNotify(bool delegate(GdkEventVisibility*, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    void
    addOnVisibilityNotify
  2. void addOnVisibilityNotify(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)

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