On Mar 20, 2007, at 5:46 PM, Martin Henne wrote:

> But I have to do something to trigger it once. I tried using
> a button that just calls  redraw() on the widget. Works!
> After I pressed that button, the animation starts and never
> ends.
>
> What could this be?

Did you call Fl::lock() before the first show()?

If that doesn't help, you can always set a timeout that checks if the  
window is "shown()" and then triggers the first redraw(). It  
shouldn't be like that though. There must be a reason for this. Is  
your thread starting up, or is it maybe locked somehow?

----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to