OptionaldrawOptionalfocusedIf true, brings the window to the front. If false, brings the next window in the z-order to the front.
OptionalheightThe height to resize the window to in pixels. This value is ignored for panels.
OptionalleftThe offset from the left edge of the screen to move the window to in pixels. This value is ignored for panels.
OptionalstateThe new state of the window. The 'minimized', 'maximized' and 'fullscreen' states cannot be combined with 'left', 'top', 'width' or 'height'.
OptionaltitleA string to add to the beginning of the window title.
OptionaltopThe offset from the top edge of the screen to move the window to in pixels. This value is ignored for panels.
OptionalwidthThe width to resize the window to in pixels. This value is ignored for panels.
If true, causes the window to be displayed in a manner that draws the user's attention to the window, without changing the focused window. The effect lasts until the user changes focus to the window. This option has no effect if the window already has focus. Set to false to cancel a previous draw attention request.