Documentation
On this page

Interface · Application Lifecycle

DesktopWindow

Live desktop window created by DesktopApplication.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

closed

readonly closed: Promise<void>

Promise completed after the native window closes.

Type: Promise<void>

isDisposed

readonly isDisposed: boolean

Whether the native window and reactive root have been disposed.

Type: boolean

activate

activate(): void

Activates the window and requests foreground focus.

close

close(): void

Requests that the native window close.

dispose

dispose(): void

Disposes the native window and its reactive tree.

findResource

findResource(key: string): DesktopResourceValue | null

Looks up a resource through the window and application dictionaries.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1051 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.