Window
Defined in: api/node/typescript/index.ts:56 ↗
This type represents a window towards the windowing system, that’s used to render the scene of a component. It provides API to control windowing system specific aspects such as the position on the screen.
Properties
Section titled “Properties”fullscreen
Section titled “fullscreen”fullscreen:
boolean
Defined in: api/node/typescript/index.ts:70 ↗
Gets or sets the window’s fullscreen state *
logicalPosition
Section titled “logicalPosition”logicalPosition:
Point
Defined in: api/node/typescript/index.ts:58 ↗
Gets or sets the logical position of the window on the screen.
logicalSize
Section titled “logicalSize”logicalSize:
Size
Defined in: api/node/typescript/index.ts:64 ↗
Gets or sets the logical size of the window on the screen,
maximized
Section titled “maximized”maximized:
boolean
Defined in: api/node/typescript/index.ts:73 ↗
Gets or sets the window’s maximized state *
minimized
Section titled “minimized”minimized:
boolean
Defined in: api/node/typescript/index.ts:76 ↗
Gets or sets the window’s minimized state *
physicalPosition
Section titled “physicalPosition”physicalPosition:
Point
Defined in: api/node/typescript/index.ts:61 ↗
Gets or sets the physical position of the window on the screen.
physicalSize
Section titled “physicalSize”physicalSize:
Size
Defined in: api/node/typescript/index.ts:67 ↗
Gets or sets the physical size of the window on the screen,
Accessors
Section titled “Accessors”visible
Section titled “visible”Get Signature
Section titled “Get Signature”get visible():
boolean
Defined in: api/node/typescript/index.ts:82 ↗
Returns the visibility state of the window. This function can return false even if you previously called show() on it, for example if the user minimized the window.
Returns
Section titled “Returns”boolean
Methods
Section titled “Methods”hide()
Section titled “hide()”hide():
void
Defined in: api/node/typescript/index.ts:91 ↗
Hides the window, so that it is not visible anymore.
Returns
Section titled “Returns”void
requestRedraw()
Section titled “requestRedraw()”requestRedraw():
void
Defined in: api/node/typescript/index.ts:94 ↗
Issues a request to the windowing system to re-render the contents of the window.
Returns
Section titled “Returns”void
show()
Section titled “show()”show():
void
Defined in: api/node/typescript/index.ts:88 ↗
Shows the window on the screen. An additional strong reference on the associated component is maintained while the window is visible.
Returns
Section titled “Returns”void
© 2026 SixtyFPS GmbH