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 >> > > > > -- > Gregory Casamento > Open Logic Corporation, Principal Consultant > yahoo/skype: greg_casamento, aol: gjcasa > (240)274-9630 (Cell) > http://www.gnustep.org > http://heronsperch.blogspot.com _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
