Skip to content

Interface: WindowInfo ​

Defined in: types/desktop-engine.d.ts:4261

Another app's window, in DesktopEngine.windows.list()

Properties ​

frame ​

ts
readonly frame: Readonly<Rect>;

Defined in: types/desktop-engine.d.ts:4268

Where it is, in global coordinates (like Window and Screen); the title bar is at its top


id ​

ts
readonly id: number;

Defined in: types/desktop-engine.d.ts:4266

The same while the window exists, also when it moves or comes to the front; a window that's closed and opened again, or whose app is relaunched, gets a new one


isActiveApp ​

ts
readonly isActiveApp: boolean;

Defined in: types/desktop-engine.d.ts:4270

It belongs to the app the user is using (the frontmost one), e.g. to prefer the window that has their attention


isFloating ​

ts
readonly isFloating: boolean;

Defined in: types/desktop-engine.d.ts:4277

It floats above normal windows: a panel or a window its app keeps on top (picture in picture, a floating palette). Floating windows come before the normal ones in list()


isFullScreen ​

ts
readonly isFullScreen: boolean;

Defined in: types/desktop-engine.d.ts:4272

It fills its display in a full screen Space, alone or beside another window in Split View

The SDK is released under the Apache License 2.0