on xenial help sign in
updated MenuRegistrar interface
commitd6bef25b9be403a83030995434dbe412c6ede26e authorNick Dedekind <nick.dedekind@canonical.com> dateWed 22 Jun 2016, 11:24 (10 years ago) parenta443327
1 file changed+9−9
plugins/Unity/ApplicationMenu/com.ubuntu.MenuRegistrar.xml+9−9
plugins/Unity/ApplicationMenu/com.ubuntu.MenuRegistrar.xml+9−9
@@ -1,18 +1,18 @@
11<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
22<node xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
3− <dox:d><![CDATA[
4− @mainpage
5−
6− An interface to register menus that are associated with a window in an application. The
3+ <dox:d><![CDATA[
4+ @mainpage
5+
6+ An interface to register menus that are associated with a window in an application. The
77 main interface is docuemented here: @ref com::ubuntu::MenuRegistrar.
8−
8+
99 The actual menus are transported using the gmenumodel protocol
10− ]]></dox:d>
10+ ]]></dox:d>
1111 <interface name="com.ubuntu.MenuRegistrar" xmlns:dox="http://www.ayatana.org/dbus/dox.dtd">
1212 <dox:d>
1313 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
15− address and object that provides the menu using the org.gtk.Menus interface.
14+ window. This manages that association between processes and/or Mir surface IDs and the dbus
15+ address and object that provides the menus using the org.gtk.Menus interface.
1616 </dox:d>
1717 <method name="RegisterAppMenu">
1818 <dox:d><![CDATA[
@@ -23,7 +23,7 @@
2323 ensure this method is called with the same connection that implmenets the object.
2424 ]]></dox:d>
2525 <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>
2727 </arg>
2828 <arg name="menuObjectPath" type="o" direction="in">
2929 <dox:d>The object on the dbus interface implementing the gmenumodel interface</dox:d>