visibility_notify_event (
  GtkWidget* self,
  GdkEventVisibility event,
  gpointer user_data

Description [src]

The ::visibility-notify-event will be emitted when the widgets window is obscured or unobscured.

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

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Deprecated since:3.12

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.


event GdkEventVisibility

The GdkEventVisibility which triggered this signal.

Return value

Returns: gboolean

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