Widget.addOnWindowState

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.

  1. gulong addOnWindowState(bool delegate(GdkEventWindowState*, Widget) dlg, ConnectFlags connectFlags)
  2. gulong addOnWindowState(bool delegate(Event, Widget) dlg, ConnectFlags connectFlags)
    class Widget
    addOnWindowState

Return Value

Type: gulong

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

Meta