5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 18:31:53 +08:00
wails/mkdocs-website/docs/en/development/changes_systray.md
2024-03-18 20:47:33 +11:00

13 lines
678 B
Markdown

## Systray
Wails 3 comes with a built-in systray. This is a fully featured systray that has
been designed to be as simple as possible to use. It is possible to set the
icon, tooltip and menu of the systray. It is possible to also "attach" a window
to the systray. Doing this will provide the following functionality:
- Clicking the systray icon with toggle the window visibility
- Right-clicking the systray will open the menu, if there is one
On macOS, if there is no attached window, the systray will use the default
method of displaying the menu (any button). If there is an attached window but
no menu, the systray will toggle the window regardless of the button pressed.