[Haskell-cafe] Status of Haskell + Mac + GUIs & graphics
conal at conal.net
Wed May 18 21:21:11 CEST 2011
I tried your sample code (having grabbed & compiled EnableGUI.hs). Works
okay, including multiple calls to 'main'.
There are a few subtle quirks. I don't see the usual bottom-right resize
icon (three parallel lines at 45 degrees), and the Zooom/2 program for
convenient window moving & resizing isn't able to move & resize this one
window. Have you noticed something similar?
On Wed, May 18, 2011 at 12:33 AM, Heinrich Apfelmus <
apfelmus at quantentunnel.de> wrote:
> Conal Elliott wrote:
>> I still haven't found any way to do GUIs or interactive graphics in
>> on a Mac that isn't plagued one or more of the following serious problems:
>> * Incompatible with ghci, e.g., fails to make a window frame or kills the
>> process the second time one opens a top-level window,
>> * Goes through the X server, and so doesn't look or act like a Mac app,
>> * Doesn't support OpenGL.
>> A year or two ago, I put my Haskell GUI & graphics work on hold while
>> waiting & hoping for a functioning pathway to open. So far I haven't heard
>> of one.
>> If anyone has found a solution, I'd love to hear!
> I've asked a similar question on stackoverflow
> and answered it myself. Basically, GLFW works (on my machine) as long as
> you don't call the GLFW.terminate function. The answer includes an example
> program that you can try out.
> It might be worth to include the extra hoops (EnableGUI) in the GLFW
> Best regards,
> Heinrich Apfelmus
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe