I don't think that libdbusmenu-glib is the way to go. We have a excellent DBUS interface in GNUstep and should build on that when implementing a theme that wants to handle menus that way. Please have a look at DBusKit before starting any other implementation on this issue. DBusKit was implemented during GSoC by Niels Grewe two years and is still maintained by him.

Fred

On 21.05.2012 21:59, Ivan Vučica wrote:
I did a tiny bit of investigation here, and for purposes of integrating with 
Ubuntu (but not bringing in native Gtk menus, I'm afraid) -- we can make use of 
libdbusmenu-glib. We could probably use DBusKit too, and send dbus messages 
directly, but that way we might be risking breakage more than if we use a 
Canonical-supported wrapper library.

Some useful code is in "java-swing-ayatana" project. If I extract their code 
into an easily understandable minimal example of making use of libdbusmenu-glib, I'll 
update the group.

On 21. 5. 2012., at 21:22, Gregory Casamento<[email protected]>  wrote:

Ivan,

I have been working on a way to get native menus into the Gtk theme
for a while now.   Many of the approaches have been less than perfect
because it involves reparenting of a window into a subview for display
of the menu.

If this can work without this kind of kludge it would be ideal!
Please let me know what you find out and keep in contact with me and
the group.   I'd be fascinated to hear what you discover!

GC

On Mon, May 21, 2012 at 3:15 PM, Ivan Vučica<[email protected]>  wrote:
Hi all,

Since I recently installed Ubuntu 12.04, I'm only now familiarizing myself
with development on desktop environments.

Unity's global menu looks quite cool. Looks like we could plug into it over
DBus.
   https://launchpad.net/dbusmenu

It'd prevent adding custom views as menu subviews and any custom painting of
menus, but that probably won't affect many apps (and would be optional as
part of the Gtk theme, anyway).

Any thoughts?
--
Ivan Vučica - [email protected]


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to