Re: application class thoughts



On Mon, 2010-04-05 at 10:15 -0700, John Ralls wrote:
> Menubars are an interesting problem. The Gtk+ paradigm is that each
> window has its own menubar, and there is no requirement that different
> windows' menubars should have the same contents. OSX, on the other
> hand, normally uses a single menubar for an application. Fortunately,
> both Cocoa and Carbon allow this menu to be switched at will, so it's
> easy to follow the Gtk+ paradigm with a focus signal handler. Carbon
> has a problem with the App menu because there's only one, so one can't
> just use the usual "emit the GtkMenuItem action signal" approach; the
> GtkMenuItem goes away when the window is destroyed. Fortunately, Cocoa
> has a separate App menu for each mainMenu, so that particular problem
> goes away.

But Carbon is deprecated anyway, right?  So if one were to try to design
support for all this into gtk 3.0, would it hurt to just ignore Carbon
and design for Cocoa?

/ Cody



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