« Post-GUADEC | Main | Native Mac theme »

Mac integration

If you've followed the development of Gimp, Gossip or Giggle, you've probably noticed that they can be built on Mac OS X, using the GTK+ OS X port and that they can use the global menu bar on that system. The code to do that has been floating around for a while as a cut-and-paste file you could use in your app, but after copying it one time too many I went ahead and made a real package of it instead. It's available here.

It also has the beginnings of integration with some other parts like the dock and bundle APIs.

The mandatory screenshot of it in action:

Comments

Very nice!
Now we just need a solution for the gnome desktop ;)

Sorry for not doing it myself ;)

Where is the source?

Anders: Sluta vara så jävla elak

Is it shareware ?

Now why the hell would that not be shipped as part of Gtk, such that all that developers have to do is

gtk_menu_bar_set_global(w, 1);

or something?

Jhkjh: There is nothing that prevents such an API to eventually move into GTK+, when it has matured, and there is a good reason for it, like more platforms supporting it for example.

I would love to see a gtkmm that works on Mac OS X.

But it still just doesn't feel like, and certainly doesn't look like, a Mac app, so half the pleasure of using it on a Mac is instantly gone :/

Ben: it does work, we just need to make a package of it to help people using it. First up is a prebuilt framework of the pure C API, then we can look into the various bindings.

SW: A native theme is in the works, if you want to help out implementing it, I can help you get started.

Ben - gtkmm "just works" on OS X. Since it is just a thin wrapper around GTK and has no low level interactions with the windowing system being used (X11 or Quartz), it needs nothing changed for use with GTK/X11 or GTK/OSX. See http://ardour.org/ for a screenshot of it in use.

Post a comment