Skip to content

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.

fullscreen: boolean

Defined in: api/node/typescript/index.ts:70

Gets or sets the window’s fullscreen state *


logicalPosition: Point

Defined in: api/node/typescript/index.ts:58

Gets or sets the logical position of the window on the screen.


logicalSize: Size

Defined in: api/node/typescript/index.ts:64

Gets or sets the logical size of the window on the screen,


maximized: boolean

Defined in: api/node/typescript/index.ts:73

Gets or sets the window’s maximized state *


minimized: boolean

Defined in: api/node/typescript/index.ts:76

Gets or sets the window’s minimized state *


physicalPosition: Point

Defined in: api/node/typescript/index.ts:61

Gets or sets the physical position of the window on the screen.


physicalSize: Size

Defined in: api/node/typescript/index.ts:67

Gets or sets the physical size of the window on the screen,

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.

boolean

hide(): void

Defined in: api/node/typescript/index.ts:91

Hides the window, so that it is not visible anymore.

void


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.

void


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.

void


© 2026 SixtyFPS GmbH