Gtk2Hs 0.9.12 released
Gtk2Hs version 0.9.12 is now available from:
http://haskell.org/gtk2hs/download/
The source tarball and an installer for Windows are available. Packages for various platforms should become available soon, hopefully including Debian, Fedora, Gentoo, FreeBSD and Darwin.
Changes since 0.9.11:
- ps, pdf and svg cairo backends are now supported
- drag & drop support added
- can run mainGUI in GHCi after :reload
- Graphics.SOE.Gtk now works with threaded rts and GHCi
- Windows build now includes OpenGL and SourceView packages
- c2hs no longer chokes on some system headers (eg glibc-2.4)
- various bug fixes and minor code cleanups
- major overhaul of the code generator (will help binding Gtk+ 2.10)
July 29th, 2007 at 9:56 pm
Congrats on getting the SOE/threaded rts/GHCI problems fixed. That seemed to be a barrier for new users. Keep up the good work!
July 30th, 2007 at 4:24 pm
> can run mainGUI in GHCi after :reload
Oooh, that’s sweet, I’ve been missing that one.
Of course, right now I’m missing my GTK apps, because I can’t seem to get gtk2hs to work on my Mandriva Spring 2007 x86-64. GHC 6.6.1 (from rpm), compiled and installed gtk2hs from source with yes on all options except mozembed. Program loads in ghci and everything appears fine until I run main, then I get
(:3764): libglade-WARNING **: unknown widget class ‘GtkAboutDialog’
*** Exception: Cannot cast object to Dialog
This is so weird, I’m at a loss where to start figuring out this one. Have they actually removed GtkAboutDialog in my version of GTK? hmmmmm…..
July 31st, 2007 at 3:22 am
I’ve been trying to run the SOE demos in GHCi (..Gtk2Hs\demos\soe\), and while they seem to compile, an error is generated when I try running them. However, I can compile them (”ghc –make *.hs”) and run the exe’s from the cmd line (all this in Windows XP).
October 16th, 2007 at 12:47 am
Hi, I’ve tried gtk2hs 9.11 with Ubuntu some months ago, but now, in Arch Linux (gcc 4.2.2) it doesn’t compile!
Ahh, I need Haskel!
Thanks!
October 16th, 2007 at 9:50 am
We’ll shortly be doing a 0.9.12.1 point release to fix some compilation issues with recent versions of glib and so it’ll build with ghc-6.8. It’ll also include the latest SOE code.