Michael Dever is developing a file manager in Gtk2Hs and is blogging about it. He wrote a little demo that shows how to add rows to a ListStore on the fly, namely when the user expands and collapses a link. While there are other ways to do this (namely by implementing your own store using CustomStore) his solution is certainly much simpler. A screenshot of the demo can be found here.
Archive for the ‘Announcements’ Category
The new release finishes many features that were in the works. Novelties include:
- support for GHC 6.10
- new bindings to GIO and GtkSourceView 2.0
- full switch to the new model-view implementation using Haskell models for storage
- support for many more model-based widgets such as IconView and an updated binding to ComboBox
- full drag-and-drop support
- better support for Attributes in Pango
- replaced Event for EventM monad, thereby improving efficiency and convenience
- functions for interaction between Cairo and Pixbuf (i.e. it is possible to mix vector graphics and pixel-based image manipulation routines)
- lots of bug fixes, code cleanups, and portability improvements
With this release, the bindings to GnomeVFS and GtkSourceView-1.0 have been deprecated. The TreeList modules have been deprecated from the Gtk+ bindings.
Source and Win32 binaries are available on the Sourceforge page
Thanks to everyone who submitted bug fixes and features this time around!
Gtk2Hs version 0.9.13 is now available.
- bindings for Gnome VFS and GStreamer
- a new Gtk+ tutorial has been adapted by Hans van Thiel
- cairo image stride support
- many new demos
- compiles with GHC 6.8.3
- lots of bug fixes
This release has been tested on a variety of platforms with different versions of Gtk+ and GHC, so you should have no trouble compiling it if you’re using an older version of Gtk+.
Note that the binaries for Win32 for this release are only provided for GHC 6.8.3 and Gtk+ 2.12. As with older releases, all the C libraries needed are included in the installer, so you don’t need to download anything else to get up an running. I’ve also created zip files containing only the C libraries that can be used for redistribution. The sources for these binaries are available here.