Greg Ercolano wrote: > Alvin wrote: >> The only reason I >> went with add_timeout() was that it does not require it to be explicitly >> removed once it is done. > > BTW, in the code I posted recently, I added a call to remove_timeout() > in the timer's callback. > > I've always done this because my reading of the docs don't explicitly > say remove_timeout() doesn't need to be called, and due to the > existence of 'repeat_timeout()', it seemed to imply FLTK keeps > track of the first timeout for repeat_timeout() to use, which meant > to me that one should call remove_timeout() if repeat isn't going > to be used.
No, the timeouts are one-shot timeouts. You do not need to remove them. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

