5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-06 13:00:08 +08:00
wails/v3/internal/dbus
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
..
menu V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
notifier V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
dbus.go V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
DbusMenu.xml V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
generate.sh V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
README.md V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00
StatusNotifierItem.xml V3 alpha linux dbus (#2996) 2023-10-21 11:39:46 +11:00

//Note that you need to have github.com/knightpp/dbus-codegen-go installed from "custom" branch

//go:generate dbus-codegen-go -prefix org.kde -package notifier -output internal/generated/notifier/status_notifier_item.go internal/StatusNotifierItem.xml //go:generate dbus-codegen-go -prefix com.canonical -package menu -output internal/generated/menu/dbus_menu.go internal/DbusMenu.xml