Re: global menubars in GTK+



On Mon, 2009-05-25 at 22:31 +1200, John Stowers wrote:

> Did you take a look at gnome2-globalmenu [1], I use it daily
> and find it works exceptionally well, with no code changes to Gtk+ apps.

I did.

I think the idea of guessing the menubar that you wish to make the
global menu by walking the widget tree and pulling it out is hacky.

It's going to break applications with non-standard menubar packings.
It's going to break on applications with multiple menubars. It suffers
from the same basic problems as the IGE-MacOSX stuff - in that it is
creating a proxy from GtkWidgets (which could break all kinds of
assumptions) rather than using GtkActions.

I don't think it's a long term solution to the problem.

OTOH, if GTK+ had API for this, a backend could be written to power the
gnome2-globalmenu applet from this API.

> [1] http://code.google.com/p/gnome2-globalmenu
-- 
Davyd Madeley

http://www.davyd.id.au/
08B0 341A 0B9B 08BB 2118  C060 2EDD BB4F 5191 6CDA



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]