So I want a popup window, I have a window created, text placed on it via 
Fl_Box.  but using Fl::wait(0) only shows the window and no text, in a loop, 
same thing, if I change it to one second, then same thing if just once, but if 
put in loop then it shows text too.  Then it however wait's because the test 
loop is up to 10, so dealys 8 seconds.  Likewise, same on close after calling 
to hide the window, using wait(0) is a problem, have to use 1 or more.  What's 
up with that?   Also, in looking at the function I see:

    timeval t;
    t.tv_sec = int(time_to_wait);
    t.tv_usec = int(1000000 * (time_to_wait-t.tv_sec));

but wouldn't t.tv_usec always be zero.


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

Reply via email to