I'm looking for good documentation (an example, tutorial, or guide) on how to add global menu support to a non-gtk, non-qt application. (In gtk it works 'magically' for the main menu...).
The toolkit I want to use this with is kivy, which supports the glib-mainloop (e.g. for gstreamer), so in principle all should work there.
I have seen the API reference of Dbusmenu and here, but that is not very helpful for understanding the mechanisms.
There is a short example for creating a launcher-quicklist which contains a dbus-menu, but not for the global-menu / appmenu.
There is a wiki page that does not contain any relevant information other then "Work on supporting other the application menu on other toolkits would be welcome, but not a priority for the DX team, help wanted."
There is a little information in this graphic from the indicator-appmenu source code, but its not enough, can not be found on developer.ubuntu.com and requires more explanation:
So:
- What is the procedure that gets a set of menu items (Dbusmenu.Menuitem) to be displayed?
- What role does the client and the server play? (Which of those is supposed to be run in my application? Or both?)