Re: timer
- From: Michal ROMAN <michal roman nov sk>
- To: gtk-list gnome org
- Subject: Re: timer
- Date: 09 Jul 2002 09:44:31 +0200
> is there any way of running a callback every 2 secons???
gtk_timeout_add (2000, callback_function, NULL);
gint callback_function (gpointer data)
{
...
return TRUE; // continue timer
or
return FALSE; // stop timer
}
- References:
- timer
- From: "Seisdedos Nuñez, Monserrat"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]