Slashdot Mirror


GTK+OSX for Mac OS X Aqua

Scott Sheppard writes "GTK+OSX has released a native Mac OS X Aqua port of the Linux-based GTK+ open source graphical user interface library. GTK+ (GIMP Toolkit) is a popular widget library supporting graphical applications for Linux. GTK+OSX version 0.1 is an alpha release intended for developers." This could make The Gimp cozy for MacHeads without installing XDarwin and OroborOSX. Looking good!

11 of 235 comments (clear)

  1. First impertinent post by Frothy+Walrus · · Score: 2, Interesting

    But, why would anyone use GTK when OS X provides the vastly better Aqua?

    1. Re:First impertinent post by IamTheRealMike · · Score: 3, Interesting
      But, why would anyone use GTK when OS X provides the vastly better Aqua?

      Because GTK lets you write apps for Linux, Windows and now MacOS X, whereas Aqua is OS X only?

      Also, how are you comparing GTK to Aqua? Looks? Have you got extensive programming experience of both? Or are you just assuming it's worse?

      I think you could make a good case that GTK is superior to Aqua (as a widget toolkit).

      GTK2 is much better than GTK1 bear in mind (I think they ported gtk1). I personally think the most common theme engines look much better than Aqua, because the flat, clean look appeals to me. Seeing screenshots of Aqua apps makes me glad I'm not using it, I mean every effing widget is full of stripey lines: I find it incredibly visually distracting. Of course GTK is natively themable (Aqua is not without some horrid hacks) and has been for some time, so if you must have an Aqua style GUI you can have one, but I much prefer for instance Mist which is stylish without getting in your way.

      Programming wise, although I don't know much about MacOS coding, I do know that GTK2 has more bindings than Aqua (it's based on object oriented C meaning it's incredibly easy to bind to other languages), can have multiple backends (which is where it gets its display portability from), with the X backend can be network transparent, uses FreeType for superior text antialiasing (OS X has heavier, fuzzier AA at small sizes), has full accessibility support (aqua may have this too, i dunno) and of course is open source (which is why this is possible in the first place).

      So - if you have credible arguments for why Aqua is better as a toolkit than GTK, let's hear them. And no, "I like animated buttons" is not a credible argument, you can have them with GTK too if you write a theme that uses them.

    2. Re:First impertinent post by IamTheRealMike · · Score: 3, Interesting
      Ahhh, well that's sort of cheating. A better example would be using a high level language. That doesn't use Glade (UIs loaded externally). I've written a hello world GTK app in Python that is only 4 lines of code using glade, one of which is loading the file.

      If you're going to compare APIs you should at least make use of the features of each, and use languages of similar levels. No, ObjC is not a low level language either.

      GTK UI construction in C is verbose yeah, but so is anything in C. You can make GTK apps very simply if you use the right bindings and use Glade (equivalent to .nib files), ditto for any part of the GNOME apis. Oh and I'd much rather not use Objective-C for anything, I find it incredibly hard to read, and I know many languages. I'm sure I could learn it if I wanted to, but I don't, language neutral APIs are generally much nicer imho.

  2. Probably a stupid question by sheriff_p · · Score: 4, Interesting

    This is probably a stupid question, but:

    There are programs like FreeCIV that use GTK. How long until I can natively compile FreeCIV, or some other arbitary *nix program on OS X, without needing an X server?

    --
    Score:-1, Funny
  3. What about existing Fink Installations? by ewwhite · · Score: 3, Interesting

    How will this affect those of us with existing XFree86 and Fink applications? I currently use Gnome and Gtk for my X applications... is this an entirely-standalone product, or could it possibly integrate well with an existing Gtk install?

    --
    Edmund White
    http://flickr.com/ewwhite
  4. Re:rant by Quazion · · Score: 2, Interesting

    I welcome this news, since maybe now i can create an easy port of freeciv for mac os x. Thanks Slashdot.

  5. Re:So when do we get GTKRadiant then?? by TTimo · · Score: 2, Interesting

    We made some effort to get GtkRadiant ported to OSX using Gtk+/XDarwin. It has not been released yet, because hardware GL acceleration with Gtk+/XDarwin/GLX is still causing trouble.

    The introduction of a native Gtk+ port is probably going to make us reconsider some options.

    If you are interested, please see
    http://zerowing.idsoftware.com/mailman/listin fo/gt krad-macos

  6. what about adobe by digitalsushi · · Score: 3, Interesting

    I wonder what Adobe's take on this is, with the GIMP on the horizon? I wonder what percentage of Photoshop installations are legal viewed from both PC and Mac perspectives. Anyone know that stat, roughly? Course it's a hard number to calculate.

    --
    slashdot: where everyone yells sarcastic metaphors to themselves to understand the issue
  7. Re:Don't think Gimp. by marmoset · · Score: 2, Interesting

    I'm not trying to be a smartass here, but there's already a very advanced Mac build of Mozilla (utilizing a Carbon front end), not to mention a pretty darned great Gecko-based browser, Chimera, using a Cocoa front-end. What could a GTK-based Mozilla offer Apple or Mac users that those two aren't already doing?

  8. Blech by Dr.+Sp0ng · · Score: 2, Interesting

    If you'll excuse me, I have some things to get off my chest.

    Christ, I just don't understand you people sometimes. You pay good money for a Mac and a copy of OS X, and then you cheer for a half-assed port of GTK+, the most horrible toolkit ever conceived? I mean, come on, at least put the fucking menubar on top of the screen where it belongs!

    I'm not a Mac zealot. I love my Mac, but I'm also a fan of Windows XP (from a useability, if not technological, standpoint), and have been using Linux since before the kernel hit the big 1.0 (although, since the train wreck that has been kernel 2.4 hit the world, I've moved everything important over to FreeBSD). I spent years championing free software, but one can only take so much of "that'll be fixed soon, we promise," before the idea of a free desktop stops being attractive.

    I cannot stand to use a GTK+-based application without cringing - applying a skin-deep theme doesn't fix the useability and design problems, which go straight to the core (granted, a lot of this stems from the "evil robot" UI designer another posted in this thread pointed out, and there's not much a toolkit can do about that, but the problem seems worse for most GTK+ apps than, say, Qt). GTK+ apps, without a SINGLE EXCEPTION that I have seen, just scream "AMATEUR!" The GIMP is the only GTK+ application I have seen which comes even close to feeling professional, and it's still got a long way to go. Qt apps are much better in the respect, and that probably stems from the fact that programmers who use Qt (at least in the context of KDE applications) tend to pay more attention to KDE's UI guidelines than GTK+ programmers do to Gnome's guidelines. But they both have the same problem in the end - without somebody to have the final say in the user interface area, a coherent desktop is impossible, because anybody who has other ideas is free to implement them. That may work fine in other areas of software development (and indeed, has, as free software spanks the competition in most other areas), but on the desktop, it just can't fly.

    I, for one, will stay the hell away from this port, even if they fix the menubar issues and make a convincing Aqua theme (which, to this point, has not been done by anybody, so I'm not counting on colorblind, aesthetically-challenged free software types to pull it off). Even if the widgets manage to blend in with the native ones, GTK+ applications will always stick out like a sore thumb. The Mac interface is about much more than blue, pulsating buttons - interfaces are DESIGNED, not HACKED TOGETHER.

    The only thing this port will be good for is a temporary stepping stone from X11 to Aqua - and not a very good one, at that. I wish free software people would drop GTK+ for a more reasonable toolkit, like Qt, which doesn't actively try to drive the programmer to drink. The best case would be if the GNUStep people would 1) finish up their god damned project, and 2) make it less ugly. That way native OS X applications could be written the way God intended (in Cocoa), and easily ported to other operating systems. As the author of several programs using GTK+, Qt, and Cocoa, I can honestly say that I would sooner work for minimum wage flipping burgers at McDonalds than ever write another line of code using GTK+. Qt is decent, and Cocoa is by far the best. But GTK+... ugh, there is just not a single redeeming feature to this entire toolkit.

    Then again, I'm even picky when it comes to Carbon vs. Cocoa - even Carbon applications don't feel right on OS X (especially the Carbon port of Vim, which makes me cry). Give me native Cocoa apps, or give me death.

  9. Re:Why bother? Apple doesn't want this. by bnenning · · Score: 3, Interesting
    Apple wants people to port their applications to Cocoa. That's the only kind of GUI they want on OSX.


    True, and false. Apple emphasizes Cocoa and doesn't provide a built-in X server, but that doesn't mean they're hostile to the concept of running X apps. They even link to the XFree86 Darwin port.


    I don't see any point in fighting it, and I don't see any point for open source efforts to waste any time on doing something Apple doesn't want in the first place.


    There's nothing to fight, and even if there were, Apple doesn't control what software you run. By that reasoning developing Mozilla for Windows is pointless since Microsoft doesn't like it.

    --
    How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.