[Haskell] [ANN] Gtk2Hs 0.12.5

Hamish Mackenzie hamish.k.mackenzie at gmail.com
Tue Dec 3 01:01:02 UTC 2013


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
interfaces.

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.

Installation
------------
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

or

  cabal install gtk2hs-buildtools
  cabal install gtk3

Other available packages include
    gconf
    glade
    gstreamer
    gtkglext
    gtksourceview2 (or gtksourceview3)
    soegtk
    svgcairo
    vte
    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].

Features
--------
  * 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

Community
---------
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:
  git clone https://github.com/gtk2hs/gtk2hs.git

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

  [1] http://projects.haskell.org/gtk2hs/
  [2] https://github.com/gtk2hs/gtk2hs/blob/master/INSTALL
  [3] https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
  [4] https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel
  [5] https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit
  [6] http://hackage.haskell.org/trac/gtk2hs/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell/attachments/20131203/4076acb1/attachment.html>


More information about the Haskell mailing list