I've just tweaked the Graphics.SOE.Gtk module from Gtk2Hs 0.11.1 to
make it compatible with version 0.12.0.
Changes from version 0.11.1 included in the attached patch:
* use Control.Concurrent.STM.TChan in place of Control.Concurrent.Chan
as "isEmptyChan" has been deprecated
* implement the "getWindowTick" function and modify the openWindowEx
function accordingly to accept a refresh rate argument, making it
behave identically to that described in the book "The Haskell School
* update the Setup.hs, Gtk2HsSetup.hs and soegtk.cabal files in line
with the changes in Gtk2Hs
It may be a little ugly - I've tried to change the code as little as
possible while implementing these changes.
Attached are a diff file for soegtk version 0.11->0.12, along with a
tarball of the whole thing.
I couldn't find this in the current version of the darcs repository,
so I've been unable to use "darcs send" for this purpose.
Please do consider readding this module to the repository for the next
Gtk2Hs release, or alternatively, releasing it as a standalone module!
Get latest updates about Open Source Projects, Conferences and News.