wails/v3/examples/systray-menu
Lea Anthony fe717c42b5
Refactor to using Window interface (#4471)
Refactor window interface to eliminate type assertions and improve code maintainability
2025-08-09 15:28:08 +10:00
..
logo-dark-xsmall.png Better logo in systray-menu example 2024-12-27 09:23:39 +11:00
main.go Refactor to using Window interface (#4471) 2025-08-09 15:28:08 +10:00
README.md Fix macOS systray DPI scaling and offset. 2024-12-13 23:46:27 +11:00

Systray Menu Example

This example creates a system tray with an attached window and a menu. The window is hidden by default and toggled by left-clicking on the systray icon. The window will hide automatically when it loses focus. Right-clicking on the systray icon will show the menu.

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 Working
Linux