Function Window.windowState

returns current window state

WindowState windowState() @property;