5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 06:39:10 +08:00
wails/v3/examples/systray-custom
Lea Anthony beacf06c7d
Fix macOS systray DPI scaling and offset.
Added new systray examples.
2024-12-13 23:46:27 +11:00
..
main.go Fix macOS systray DPI scaling and offset. 2024-12-13 23:46:27 +11:00
README.md Fix macOS systray DPI scaling and offset. 2024-12-13 23:46:27 +11:00

Systray Custom Example

This example creates a simple system tray and uses hooks to attach a custom window. The window is hidden by default and toggled by left-clicking on the systray icon. The window will hide automatically when it loses focus.

On Windows, if the icon is in the notification flyout, then the window will be shown in the bottom right corner.

Status

Platform Status
Mac Working
Windows
Linux