Interface · Application Lifecycle
DesktopWindowOptions
Options used when creating a desktop window.
@sharpts/gui · SharpTS 572a2e31be0eMembers
main
main?: booleanWhether this window is the application's main window.
Default: false
Type: boolean
modal
modal?: booleanWhether the window blocks interaction with its owner until closed.
Default: false
Type: boolean
onUnhandledError
onUnhandledError?(error: unknown, window: DesktopWindow): voidWindow-specific handler for render, effect, native commit, and event-callback failures.
owner
owner?: DesktopWindowOwner window used for native parent and modality behavior.
Type: DesktopWindow
Related symbols
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1040 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.