@sharpts/gui
Desktop Services
Dialogs, notifications, clipboard, display, platform, and shell integration.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Symbols
DesktopDisplayBoundsRectangle in physical desktop pixel coordinates.
InterfaceDesktopDisplayInfoNative desktop display information.
InterfaceDesktopDisplaySizeDisplay size expressed in device-independent pixels.
InterfaceDesktopNotificationOptionsOptions for showNotification.
InterfaceDesktopPlatformInfoOperating-system and well-known directory information.
InterfaceDesktopTrayIconLive native tray icon owned by a DesktopApplication.
InterfaceDrawingDocumentLogical drawing document rendered by renderDrawingToPng.
Type aliasDrawingEffectA validated effect applied in order while rasterizing a drawing document.
InterfaceDrawingFloodFillOptionsOptions for a contiguous flood-fill operation.
Type aliasDrawingFloodFillResultResult of a flood-fill operation.
InterfaceDrawingImageA bounded PNG image produced by the desktop drawing renderer.
InterfaceDrawingLayerOne composited layer rendered by renderDrawingToPng.
InterfaceDrawingPixelOne pixel sampled from a rendered drawing document.
InterfaceFileFilterNamed file-extension pattern group used by native file dialogs.
FunctionfloodFillDrawingApplies a contiguous, four-connected flood fill and returns a rasterized document image.
InterfaceFolderDialogOptionsOptions for showFolderDialog.
FunctiongetDesktopDisplaysReturns information about connected desktop displays.
FunctiongetDesktopPlatformInfoReturns operating-system, runtime, and well-known directory information.
FunctiongetImageDimensionsReads pixel dimensions from a packaged asset, local file, or PNG data URI.
FunctiongetLaunchArgumentsReturns command-line arguments supplied when the desktop application launched.
InterfaceImageDimensionsDimensions reported for a supported image source.
InterfaceMessageDialogOptionsOptions for showMessageDialog.
Type aliasMessageDialogResultButton selected when a native message dialog closes.
FunctionopenExternalOpens a URI or file with the operating system's default application.
InterfaceOpenFileDialogOptionsOptions for showOpenFileDialog.
FunctionprintFileSends a local file to the operating system's print workflow.
FunctionreadClipboardTextReads plain text from the desktop clipboard.
FunctionrenderDrawingToImageRenders a validated drawing document to a bounded PNG data URI, optionally applying effects.
InterfaceRenderDrawingToImageOptionsOptions for renderDrawingToImage.
FunctionrenderDrawingToPngRenders a validated drawing document to a transparency-preserving PNG file.
FunctionsampleDrawingPixelSamples one pixel from the fully composited drawing document.
InterfaceSaveFileDialogOptionsOptions for showSaveFileDialog.
FunctionshowFolderDialogDisplays a native folder-selection dialog.
FunctionshowItemInFolderReveals a file or folder in the native file manager.
FunctionshowMessageDialogDisplays a native message dialog.
FunctionshowNotificationDisplays a native desktop notification.
FunctionshowOpenFileDialogDisplays a native open-file dialog.
FunctionshowSaveFileDialogDisplays a native save-file dialog.
InterfaceTrayIconOptionsOptions used to create or update a native tray icon.
InterfaceTrayMenuItemNative tray menu entry.
FunctionwriteClipboardTextWrites plain text to the desktop clipboard.