Documentation
On this page

Interface · Application Lifecycle

DesktopWindowOptions

Options used when creating a desktop window.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

main

main?: boolean

Whether this window is the application's main window.

Type: boolean

modal

modal?: boolean

Whether the window blocks interaction with its owner until closed.

Type: boolean

onUnhandledError

onUnhandledError?(error: unknown, window: DesktopWindow): void

Window-specific handler for render, effect, native commit, and event-callback failures.

owner

owner?: DesktopWindow

Owner window used for native parent and modality behavior.

Type: DesktopWindow

Source

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