Documentation
On this page

Interface · Desktop Services

DesktopTrayIcon

Live native tray icon owned by a DesktopApplication.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

isDisposed

readonly isDisposed: boolean

Whether the native tray icon has been disposed.

Type: boolean

dispose

dispose(): void

Removes and disposes the native tray icon.

update

update(options: TrayIconOptions): void

Replaces the icon image, tooltip, menu, and callbacks.

Source

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