Skip to content

Window

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

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:79

Gets or sets the window’s fullscreen state.


logicalPosition: Point

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

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


logicalSize: Size

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

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


maximized: boolean

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

Gets or sets the window’s maximized state.


minimized: boolean

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

Gets or sets the window’s minimized state.


physicalPosition: Point

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

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


physicalSize: Size

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

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

get visible(): boolean

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

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

dispatchEvent(event): WindowEventDispatchResult

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

Dispatches a window event to the scene.

Returns whether the scene accepted the event, actively rejected it, or left it unhandled.

WindowEvent

WindowEventDispatchResult


hide(): void

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

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

void


requestRedraw(): void

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

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:97

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