mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 19:21:21 +08:00

* [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.
61 lines
2.2 KiB
XML
61 lines
2.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<node name="/" xmlns:dox="http://www.canonical.com/dbus/dox.dtd">
|
|
<interface name="com.canonical.dbusmenu">
|
|
<!-- Properties -->
|
|
<property name="Version" type="u" access="read"/>
|
|
<property name="TextDirection" type="s" access="read"/>
|
|
<property name="Status" type="s" access="read"/>
|
|
<property name="IconThemePath" type="as" access="read"/>
|
|
<!-- Functions -->
|
|
<method name="GetLayout">
|
|
<arg type="i" name="parentId" direction="in"/>
|
|
<arg type="i" name="recursionDepth" direction="in"/>
|
|
<arg type="as" name="propertyNames" direction="in"/>
|
|
<arg type="u" name="revision" direction="out"/>
|
|
<arg type="(ia{sv}av)" name="layout" direction="out"/>
|
|
</method>
|
|
<method name="GetGroupProperties">
|
|
<arg type="ai" name="ids" direction="in"/>
|
|
<arg type="as" name="propertyNames" direction="in"/>
|
|
<arg type="a(ia{sv})" name="properties" direction="out"/>
|
|
</method>
|
|
<method name="GetProperty">
|
|
<arg type="i" name="id" direction="in"/>
|
|
<arg type="s" name="name" direction="in"/>
|
|
<arg type="v" name="value" direction="out"/>
|
|
</method>
|
|
<method name="Event">
|
|
<arg type="i" name="id" direction="in"/>
|
|
<arg type="s" name="eventId" direction="in"/>
|
|
<arg type="v" name="data" direction="in"/>
|
|
<arg type="u" name="timestamp" direction="in"/>
|
|
</method>
|
|
<method name="EventGroup">
|
|
<arg type="a(isvu)" name="events" direction="in"/>
|
|
<arg type="ai" name="idErrors" direction="out"/>
|
|
</method>
|
|
<method name="AboutToShow">
|
|
<arg type="i" name="id" direction="in"/>
|
|
<arg type="b" name="needUpdate" direction="out"/>
|
|
</method>
|
|
<method name="AboutToShowGroup">
|
|
<arg type="ai" name="ids" direction="in"/>
|
|
<arg type="ai" name="updatesNeeded" direction="out"/>
|
|
<arg type="ai" name="idErrors" direction="out"/>
|
|
</method>
|
|
<!-- Signals -->
|
|
<signal name="ItemsPropertiesUpdated">
|
|
<arg type="a(ia{sv})" name="updatedProps" direction="out"/>
|
|
<arg type="a(ias)" name="removedProps" direction="out"/>
|
|
</signal>
|
|
<signal name="LayoutUpdated">
|
|
<arg type="u" name="revision" direction="out"/>
|
|
<arg type="i" name="parent" direction="out"/>
|
|
</signal>
|
|
<signal name="ItemActivationRequested">
|
|
<arg type="i" name="id" direction="out"/>
|
|
<arg type="u" name="timestamp" direction="out"/>
|
|
</signal>
|
|
</interface>
|
|
</node>
|