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

Meta