GHC/GUI programming

From HaskellWiki
< GHC
Revision as of 21:31, 28 June 2006 by Jodonoghue (talk | contribs) (First cut)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GUI programming

This page contains notes and information about how to get the various GUI packages available for GHC up and running on different platforms, and some basic usage information to get you going.

Please feel free to add stuff here (Edit page link at the bottom).

Starting points

  • wxHaskell. wxHaskell is a GHC binding to the wxWidgets cross-platform GUI library. One of the key benefits of wxWidgets is that it provides code portability with a 'native' look and feel on Unix, Windows and Mac platforms. See wxHaskell home page on Sourceforge. License allows free use of the libraries in open or closed source software (wxWidgets license).
  • HOC. HOC is a GHC binding to the Mac OSX Cocoa APIs for GHC. The key benefits are the ability to interface with most Cocoa frameworks, and to use GUIs constructed using Interface Builder. See HOC homepage on Sourceforge. BSD licensed.
  • Gtk2Hs. Gtk2Hs is a GHC binding to the Gtk2 portable GUI library. At the time of writing it is probably the most complete and well-supported GUI option for GHC, but does not provide native look and feel on Windows or Mac. See Gtk2Hs homepage. LGPL licensed.

Building and installing