Difference between revisions of "GHC/GUI programming"

From HaskellWiki
< GHC
Jump to navigation Jump to search
m (Corrected HOC homepage address)
m (update info about native look & feel)
Line 11: Line 11:
 
* '''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 [http://hoc.sourceforge.net HOC homepage on Sourceforge]. BSD licensed.
 
* '''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 [http://hoc.sourceforge.net 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 [http://www.haskell.org/gtk2hs Gtk2Hs homepage]. LGPL licensed.
+
* '''Gtk2Hs'''. Gtk2Hs is a GHC binding to the Gtk+ portable GUI library. At the time of writing it is probably the most complete and well-supported GUI option for GHC. It provides some degree of native look and feel on Windows but not on Mac yet. See [http://www.haskell.org/gtk2hs Gtk2Hs homepage]. LGPL licensed.
   
 
== Building and installing ==
 
== Building and installing ==
Line 17: Line 17:
 
* [[wxHaskell_Install | Building and installing wxHaskell]]
 
* [[wxHaskell_Install | Building and installing wxHaskell]]
 
* HOC
 
* HOC
  +
* [[http://haskell.org/gtk2hs/download/ | Gtk2Hs]]
* Gtk2Hs
 

Revision as of 11:30, 21 September 2006

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. There is also a wxHaskell page on this wiki. 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 Gtk+ portable GUI library. At the time of writing it is probably the most complete and well-supported GUI option for GHC. It provides some degree of native look and feel on Windows but not on Mac yet. See Gtk2Hs homepage. LGPL licensed.

Building and installing