Asks to unmaximize window.
Note that you shouldn’t assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) maximize it again, and not all window managers honor requests to unmaximize.
You can track the result of this operation via the gdk.toplevel.Toplevel.ToplevelState property, or by listening to notifications on the gtk.window.Window.gboolean property.
Asks to unmaximize window.
Note that you shouldn’t assume the window is definitely unmaximized afterward, because other entities (e.g. the user or window manager) maximize it again, and not all window managers honor requests to unmaximize.
You can track the result of this operation via the gdk.toplevel.Toplevel.ToplevelState property, or by listening to notifications on the gtk.window.Window.gboolean property.