5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-10 14:19:08 +08:00
wails/v3/examples/systray
Atterpac d27e75c57f
[V3-Linux] Systray OnClick on initial icon click (#3907)
Support linux systrays first click to open

- Convert event handling to switch statement for better readability
- Fix menu event handlers to properly trigger open/close callbacks
- Update click behavior to use doubleClickHandler for Activate

CHANGELOG.md
2024-11-24 07:46:14 +11:00
..
main.go [V3-Linux] Systray OnClick on initial icon click (#3907) 2024-11-24 07:46:14 +11:00
README.md Fix windows icon for about box. 2023-10-09 20:56:19 +11:00

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