Wednesday 30 March 2005
More info on Gtk MacOS X
By hub, Wednesday 30 March 2005 at 18:18 :: Gtk MacOS X
So I started looking at porting Gtk to MacOS X without requiring X11. Since I don't like reinventing the wheel, I'm looking at what has already been done.
- gtk-osx is a port of Gtk+ 1.2 done using Carbon, for Cinepaint.
- gtk-cocoa as posted in a comment. I didn't know that one, I'll look at it soon.
Now a bunch of Q&A:
Q: Why did you start with Gtk 1.2 ?
A: I didn't I just built gtk-osx which is Gtk+ 1.2. My goal is to port Gtk+ 2.6.
Q: Will you use Cocoa ?
A: I don't think. Several reasons:
- it is too high level
- I plan to reuse gtk-osx which is Carbon code, as it is a port of the old MacOS 8 mac-gtk
And Carbon is faster and much lower-level. Cocoa itself use Carbon.
Q: Will it run on MacOS 9 ?
A: No plan at all. This will be pure MacOS X.
Q: What about Quartz ?
A: I'll use as much as I can instead of QuickDraw, but Quartz lack lot of functionnalities to be exposed.
Q: When will it done ?
A: Don't know. I haven't started to code. And I have AbiWord to work on.
Q: Why do you do that ?
A: I want people to use Gimp on MacOS X, as well as Gnumeric, Evolution and Dia. In fact any of the fantastic Gtk apps we have.