[Haskell-beginners] Re: Selecting a GUI toolkit

Andy Stewart lazycat.manatee at gmail.com
Thu Apr 30 05:18:42 EDT 2009


Daniel Carrera <daniel.carrera at theingots.org> writes:

> Felipe Lessa wrote:
>> Although I don't have access to a Mac, people usually don't like
>> Gtk there.  But there seems to be a native port somewhere that is
>> going to be merged into Gtk+ someday :).
>>
>> Now, good support today for Mac OS X would be my only reason to
>> go through the wxWindows route.  I use Gtk+ because back in the
>> days that I tried wxWindows, it had a terrible appearence when
>> using Gtk as a backend, but probably things improved since then.
>
>
> Thanks. I guess one would have to try making a simple program with each and see. After all, one of
> the selling points of WX is that it's supposed to look right in all platforms. I have been sort of
> assuming that between WX and Gtk you might as well pick WX because WX uses Gtk in the platforms
> where Gtk looks right.
>
> The choice would be simpler if Gtk ran natively on Mac. Right now it looks horrible and it is hard
> to setup if you are not a technical person or don't have the latest OS X. At a *minimum* you'll need
> to install fink or mac ports and run the program from the terminal.
>
> Btw, I have read the first few chapters of the Gtk2Hs tutorial. The code looks extremely
> imperative. Even more than wxHaskell. I mean... initGUI,
> "widgetShowAll window", "mainGUI"...
Yep, very imperative, but it works.
At least gtk2hs is easiest way to build Haskell GUI program.

  -- Andy




More information about the Beginners mailing list