Re: global menubars in GTK+
- From: "Brian J. Tarricone" <bjt23 cornell edu>
- To: gtk-devel-list gnome org
- Subject: Re: global menubars in GTK+
- Date: Mon, 25 May 2009 12:56:25 -0700
On 05/25/2009 09:22 AM, Yu Feng wrote:
On Mon, 2009-05-25 at 20:17 +0800, Davyd Madeley wrote:
OTOH, if GTK+ had API for this, a backend could be written to power the
gnome2-globalmenu applet from this API.
However, the reason why GGM is using GtkWidgets in favor of GtkActions
is that there are plenty of programs who don't build the menus with
GtkActions at all.
'It's going to break applications that do not use this API.'
Otherwise using GtkUIBuilder is much less effort than the current
approach.
I think this is actually OK and preferred. Making the global menu only
work with apps that make use of GtkAction and GtkUIManager for creating
menus is yet another way to push people toward using this functionality
rather than creating menus by hand "the old way."
If apps don't work with the global menu, they'll get bugs filed against
them by users who care (well, ok, let's be honest: some users will file
the bug with the global menu itself, but I think that's inevitable). If
app authors care to be compatible for their users that use a global
menu, that's great. Otherwise their app will just show up with a
menubar per-window as usual, and that's fine too.
-brian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]