Re: asynchronous cancellation of timer event added via g_timeout_add()



On Thursday 03 March 2005 09:09, Josef Kriegl wrote:

> My question hence is: is there a glib API call that i may have missed/is
> undocumented, or is there some other way of creating timers in glib that
> can be cancelled asynchronously?

g_source_remove() should do that:

  http://developer.gnome.org/doc/API/2.0/glib/glib-The-Main-Event-Loop.html#g-source-remove


Cheers
 -Tim



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