"windowState"

This attribute allows to set the window state.

Synopsis

this.windowState(string state);

Parameter

Parameter Description
state

Window state. Multiple states can be combined using the pipe "|". Following states can be set:

  • WindowNoState (default - normal state)

  • WindowMinimized

  • WindowMaximized

  • WindowFullScreen

  • WindowActive

Description

This attribute allows to set the window state.

State changes for invisible panels are only applied when the panels are set to visible. For visible panels the changes are applied immediately.

In case of some window managers it may occur that the WindowActive state is not applied immediately or even ignored.

Example

main()
{
  this.windowState("WindowMaximized|WindowActive");
}

Assignment

Panel