<div dir="ltr">On Mon, Dec 26, 2011 at 05:33,  <span dir="ltr">&lt;<a href="mailto:gabre@caesar.elte.hu">gabre@caesar.elte.hu</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I dont really know, what timer functions there are, I googled &quot;timing, scheduling, delaying in haskell&quot;, but the only function I found, was threaddelay. How did you mean &quot;adding a timer&quot;?<br>
</blockquote><div><br></div><div><a href="http://hackage.haskell.org/packages/archive/gtk/0.12.2/doc/html/Graphics-UI-Gtk-General-General.html#g:7">http://hackage.haskell.org/packages/archive/gtk/0.12.2/doc/html/Graphics-UI-Gtk-General-General.html#g:7</a></div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On the other side, I checked Graphics.UI.Gtk.Gdk.<u></u>drawWindowProcessUpdates. I guess, I </blockquote><div>
<br></div><div>It may not actually be the right function.  Felipe was however correct in that it&#39;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.</div>
<div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br>
<br>
</div>