Interface · Application Lifecycle
DesktopWindow
Live desktop window created by DesktopApplication.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
closed
readonly closed: Promise<void>Promise completed after the native window closes.
Type: Promise<void>
isDisposed
readonly isDisposed: booleanWhether the native window and reactive root have been disposed.
Type: boolean
activate
activate(): voidActivates the window and requests foreground focus.
close
close(): voidRequests that the native window close.
dispose
dispose(): voidDisposes the native window and its reactive tree.
findResource
findResource(key: string): DesktopResourceValue | nullLooks up a resource through the window and application dictionaries.
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1051 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.