
You can use gtkglext to get OpenGL support. With the official release of
gtkglext-1.2.0 there's a bit of hacking involved (that was probably me
you're referring to), but it looks like the repo head has native Quartz.
With any luck, you just need to build gtkglext from the repo, then the
gtkglext package.
I might have some time to try this later today; I'll report back if I get
results.
John Lato
On Tue, May 24, 2011 at 6:01 AM, Conal Elliott
Last I tried, there wasn't native support for OpenGL with gtk, and I need OpenGL. Then more recently, I heard of some progress in that area, but requiring lots of hacking to get it all compiling. Any recent news? - Conal
On Mon, May 23, 2011 at 2:33 AM, John Lato
wrote: Message: 17
Date: Fri, 20 May 2011 15:59:51 -0700 From: Evan Laforge
Subject: Re: [Haskell-cafe] Status of Haskell + Mac + GUIs & graphics To: Erik Hesselink
Cc: haskell-cafe@haskell.org Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Note that it is supposed to be possible to build gtk2hs with gtk+osx, which will not use X11 but use the native OS X GUI. I've not been able to get this to work, but it's been a while since I tried. The Haskell wiki mentions it doesn't support Glade, but does support Cairo. If this were to work, gtk2hs would be a serious option as well.
I've tried this 3 or 4 times, and failed every time. It's crazy complicated.
I used to use this combination regularly. IME the difficulties are primarily with getting a working gtk+osx build. Once that was accomplished, gtk2hs was a straightforward install, provided you build from the src repo with the -quartz flag.
Recently I've switched to using macports gtk2 with the quartz, no-x11 variant, which also uses native cocoa. This is much more reliable than gtk+osx. I don't know if it supports Glade though.
My biggest problem with wx is that there's no support for building 64-bit wx applications on OS X. If that were fixed I might prefer it.
John Lato
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe