[ static enum ] State
Class: Window.
Description:
Represents the display state of a Window. Pass one of these values to Window > state to get or set the Window's current state.
Type: number
Properties:
| Name | Description |
|---|---|
|
The window is in its default, restored state (not minimized or maximized). |
|
The window is collapsed to the taskbar or dock. |
|
The window is expanded to fill the entire application area on the screen. |
|
The window is maximized horizontally but not vertically. Doesn't apply to InternalWindow component. |
|
The window is maximized vertically but not horizontally. Doesn't apply to InternalWindow component. |
Examples:
Checking and setting Window state
if(window.state() === Window.State.Minimized)
{
window.state(Window.State.Normal);
}
