Window.isMaximized

Retrieves the current maximized state of window.

Note that since maximization is ultimately handled by the window manager and happens asynchronously to an application request, you shouldn’t assume the return value of this function changing immediately (or at all), as an effect of calling Window.maximize or Window.unmaximize.

class Window
bool
isMaximized
()

Return Value

Type: bool

whether the window has a maximized state.

Meta

Since

3.12