Documentation
On this page

Interface · Application Lifecycle

DesktopWindowOptions

Options used when creating a desktop window.

@sharpts/gui · SharpTS 572a2e31be0e

Members

main

main?: boolean

Whether this window is the application's main window.

Default: false

Type: boolean

modal

modal?: boolean

Whether the window blocks interaction with its owner until closed.

Default: false

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1040 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.