Jump to navigation Jump to search
What is it?
Gtk2Hs is a Haskell binding to Gtk+ 2.x. Using it, one can write Gtk+ based applications with GHC.
Tutorials and Demos
Some demonstration programs can be found at:
http://code.haskell.org/gtk2hs/gio/demo/ http://code.haskell.org/gtk2hs/pango/demo/ http://code.haskell.org/gtk2hs/cairo/demo/ http://code.haskell.org/gtk2hs/gtk/demo/
It currently works with Gtk+ 2.0 through to 2.22 on Unix, Win32 and MacOS X. Details please check : http://www.gtk.org/language-bindings.php
It currently builds with ghc 6.10.4 through to 7.2.1 (6.12.2 have runtime bug, don't use it)
OpenGL and Gtk2Hs
Gtk2Hs/Demos/GtkGLext/terrain.hs requires Gtk2Hs/Demos/GtkGLext/terrain.xpm
These are links to FAQS on the main site.