Hamish Mackenzie | 3 Dec 02:01 2013

[ANN] Gtk2Hs 0.12.5

Today, we welcome into the world version 0.12.5 of Gtk2Hs[1], a set of Haskell
bindings to many of the libraries included in the GTK+/Gnome platform. GTK+
is an extensive and mature multi-platform toolkit for creating graphical user

GUIs written using Gtk2Hs use themes to resemble the native look on Windows.
GTK+ is the toolkit used by Gnome, one of the two major GUI toolkits on
Linux. On Mac OS programs written using Gtk2Hs are run by Apple's X11 server
but may also be linked against a native Aqua implementation of GTK+.

You can look forward to using the following improvements in this release:

  * Initial support for GTK+ 3
      GTK+ 2 package            GTK+ 3 package
        gtk                       gtk3
        gtksourceview2            gtksourceview3
        webkit                    webkitgtk3
        webkit-javascriptcore     webkitgtk3-javascriptcore
  * Fixes build problems with the latest Cabal.
  * WebKitGTK packages (webkit and webkitgtk3) include DOM functions.
  * Package for using WebKitGTK's JavaScript engine.

The source code repository has been moved to https://github.com/gtk2hs and
travis-ci.org is used to check it builds.


This release has been tested on Linux and Windows with a variety of
combinations of GTK+ and GHC versions.

Assuming you have the necessary GTK+ base libraries already installed, you
can get the basic set of Haskell bindings with these two commands:

  cabal install gtk2hs-buildtools
  cabal install gtk


  cabal install gtk2hs-buildtools
  cabal install gtk3

Other available packages include
    gtksourceview2 (or gtksourceview3)
    webkit (or webkitgtk3)
    webkit-javascriptcore (or webkitgtk3-javascriptcore)
There are longer-winded instructions that include pointers on getting the
GTK+ base libraries installed on the website [2].

  * Automatic memory management (unlike some other C/C++ GUI libraries, GTK+
    provides proper support for garbage-collected languages)
  * Unicode support
  * High quality vector graphics using Cairo
  * Extensive reference documentation
  * An implementation of the ``Haskell School of Expression'' graphics API

You can keep up with the latest developments on the mailing lists:
  * gtk2hs-users [3]: discussions about writing code that uses Gtk2Hs
  * gtk2hs-devel [4]: discussions about modifying the Gtk2Hs bindings

Check out the latest code via darcs:

Or complain on the bug tracker [6].

This code was brought to you by:
  Duncan Coutts
  Axel Simon
  Andy Stewart
  Peter Gavin
  Jens Petersen
  John Obbele
  Hans van Thiel
  Daniel Wagner
  Bertram Felgenhauer
  Peter Davies
  Ian-Woo Kim
  Hamish Mackenzie
...and many, many more

Haskell mailing list
Haskell <at> haskell.org