diff options
author | Ted Gould <ted@gould.cx> | 2012-03-30 09:08:51 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-03-30 09:08:51 -0500 |
commit | 0a596687cc1ffe4beb1cbfdc8605b29245f1537c (patch) | |
tree | 5abaedf6e499d466f569377555a9ced40ef9d1f6 | |
parent | 10a0d01be7c04b0538fa183451d18950d613b563 (diff) | |
download | libdbusmenu-0a596687cc1ffe4beb1cbfdc8605b29245f1537c.tar.gz libdbusmenu-0a596687cc1ffe4beb1cbfdc8605b29245f1537c.tar.bz2 libdbusmenu-0a596687cc1ffe4beb1cbfdc8605b29245f1537c.zip |
Adding two grouping functions for events and about to show
-rw-r--r-- | libdbusmenu-glib/dbus-menu.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libdbusmenu-glib/dbus-menu.xml b/libdbusmenu-glib/dbus-menu.xml index 4b5a5d8..1350349 100644 --- a/libdbusmenu-glib/dbus-menu.xml +++ b/libdbusmenu-glib/dbus-menu.xml @@ -326,6 +326,20 @@ License version 3 and version 2.1 along with this program. If not, see </arg> </method> + <method name="EventGroup"> + <dox:d> + Used to pass a set of events as a single message for possibily several + different menuitems. This is done to optimize DBus traffic. + </dox:d> + <arg type="a(isvu)" name="events" direction="in"> + <dox:d> + An array of all the events that should be passed. This tuple should + match the parameters of the 'Event' signal. Which is roughly: + id, eventID, data and timestamp. + </dox:d> + </arg> + </method> + <method name="AboutToShow"> <dox:d> This is called by the applet to notify the application that it is about @@ -343,6 +357,26 @@ License version 3 and version 2.1 along with this program. If not, see </arg> </method> + <method name="AboutToShowGroup"> + <dox:d> + A function to tell several menus being shown that they are about to + be shown to the user. This is likely only useful for programitc purposes + so while the return values are returned, in general, the singular function + should be used in most user interacation scenarios. + </dox:d> + <arg type="ai" name="ids" direction="in"> + <dox:d> + The IDs of the menu items who's submenus are being shown. + </dox:d> + </arg> + <arg type="ai" name="updatesNeeded" direction="out"> + <dox:d> + The IDs of the menus that need updates. Note: if no update information + is needed the DBus message should set the no reply flag. + </dox:d> + </arg> + </method> + <!-- Signals --> <signal name="ItemsPropertiesUpdated"> <dox:d> |