public void maximize ()

Asks to maximize this, so that it fills the screen.

Note that you shouldn’t assume the window is definitely maximized afterward, because other entities (e.g. the user or window manager) could unmaximize it again, and not all window managers support maximization.

It’s permitted to call this function before showing a window, in which case the window will be maximized when it appears onscreen initially.

You can track the result of this operation via the [property@Gdk.Toplevel:state] property, or by listening to notifications on the [ property@Gtk.Window:maximized] property.



a `GtkWindow`