5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-08 07:21:46 +08:00
wails/v3/examples/systray
Travis McLane 18746c7819
V3 alpha linux dbus (#2996)
* [v3 linux/systray] dbus generation

* [v3 linux] systemtray dbus implementation

* [v3] add 'id' for MenuSeparator

This is needed in order to have a unique value for all
menuItem(s) such that the Linux implementation doesn't have to
generate new identifiers.
Allowing the reuse keeps a 1-1 mapping in place without any extra effort.

* [v3 example/systray] add radio group to example

* [v3 linux] stub out ExportStatusNotifierItem callbacks

Can only seem to get the `SecondaryActivate` to fire when doing a
3-finger click!  I was expecting a right-click interaction to trigger it.
2023-10-21 11:39:46 +11:00
..
main.go V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +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