On Mon, Dec 26, 2011 at 05:33, <gabre@caesar.elte.hu> wrote:
I dont really know, what timer functions there are, I googled "timing, scheduling, delaying in haskell", but the only function I found, was threaddelay. How did you mean "adding a timer"?

http://hackage.haskell.org/packages/archive/gtk/0.12.2/doc/html/Graphics-UI-Gtk-General-General.html#g:7
 
On the other side, I checked Graphics.UI.Gtk.Gdk.drawWindowProcessUpdates. I guess, I

It may not actually be the right function.  Felipe was however correct in that it's the wrong way to go about it; see the above to add a callback that executes after a delay, *without locking up the UI* which is what the threadDelay method will do.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms