Re: gtk timer



as long as you have a glib or gtk run loop going, you can create a "timer" using

g_timeout_add()

-Matt


On Fri, 18 Feb 2005 01:20:16 +0100, ALLs soft <info alls org> wrote:
I must run an function every 1000ms. I'm test with thread but then
program stop responding or freeze.
I need something like timer in visual basic.

Do somebody can halp me or show some short example?

thx.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 14.2.2005

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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