on xenial help sign in
updated MenuRegistrar interface
d6bef25Nick Dedekind
plugins/Unity/ApplicationMenu/com.ubuntu.MenuRegistrar.xml+9−9
@@ -1,18 +1,18 @@
1<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
1<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
2<node xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
2<node xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
3− <dox:d><![CDATA[
3+ <dox:d><![CDATA[
4− @mainpage
4+ @mainpage
5−
5+
6− An interface to register menus that are associated with a window in an application. The
6+ An interface to register menus that are associated with a window in an application. The
7 main interface is docuemented here: @ref com::ubuntu::MenuRegistrar.
7 main interface is docuemented here: @ref com::ubuntu::MenuRegistrar.
8−
8+
9 The actual menus are transported using the gmenumodel protocol
9 The actual menus are transported using the gmenumodel protocol
10− ]]></dox:d>
10+ ]]></dox:d>
11 <interface name="com.ubuntu.MenuRegistrar" xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
11 <interface name="com.ubuntu.MenuRegistrar" xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
12 <dox:d>
12 <dox:d>
13 An interface to register a menu from an application to be displayed in another
13 An interface to register a menu from an application to be displayed in another
14− window. This manages that association between Mir surface IDs and the dbus
14+ window. This manages that association between processes and/or Mir surface IDs and the dbus
15− address and object that provides the menu using the org.gtk.Menus interface.
15+ address and object that provides the menus using the org.gtk.Menus interface.
16 </dox:d>
16 </dox:d>
17 <method name="RegisterAppMenu">
17 <method name="RegisterAppMenu">
18 <dox:d><![CDATA[
18 <dox:d><![CDATA[
@@ -23,7 +23,7 @@
23 ensure this method is called with the same connection that implmenets the object.
23 ensure this method is called with the same connection that implmenets the object.
24 ]]></dox:d>
24 ]]></dox:d>
25 <arg name="pid" type="u" direction="in">
25 <arg name="pid" type="u" direction="in">
26− <dox:d>The surface ID of the surface</dox:d>
26+ <dox:d>The process ID of the application for which the menu is associated</dox:d>
27 </arg>
27 </arg>
28 <arg name="menuObjectPath" type="o" direction="in">
28 <arg name="menuObjectPath" type="o" direction="in">
29 <dox:d>The object on the dbus interface implementing the gmenumodel interface</dox:d>
29 <dox:d>The object on the dbus interface implementing the gmenumodel interface</dox:d>