Signal

GtkWidget::window-state-event

Declaration

gboolean
window_state_event (
  GtkWidget* self,
  GdkEventWindowState event,
  gpointer user_data
)

Description [src]

The ::window-state-event will be emitted when the state of the toplevel window associated to the widget changes.

To receive this signal the GdkWindow associated to the widget needs to enable the #GDK_STRUCTURE_MASK mask. GDK will enable this mask automatically for all new windows.

Default handler:

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

Parameters

event

Type: GdkEventWindowState

The GdkEventWindowState which triggered this signal.

Return value

Type: gboolean

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