Re: Delay displaying text in a clist



On Tue, 2004-02-03 at 14:33, Thomas Keaney wrote:
Thanks for the code, but I am having a probelm with it at the moment.
Instead of displaying the message once after a three seconds it keeps
displaying it continuosly every three seconds. How would I overcome this?

returning FALSE in timer_func() should stop the timer. Alternatively you
can add a g_source_remove(Timer) there.

Markus.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]