Problem with timers
- From: Antony Stace <antony claire co jp>
- To: gnome-devel-list gnome org, gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Problem with timers
- Date: Mon, 18 Sep 2000 11:55:23 +0900
Hi Folks
I have some problems with using using timers. I set up the following
two timers
timer1 = gtk_timeout_add (PERIODIC_TIME_INTERVAL_LIGHTS,
(GtkFunction) PeriodicLightHandler,
(gpointer) gpEventBoxDataStore);
timer2 = gtk_timeout_add (PERIODIC_TIME_INTERVAL_BUTTONS,
(GtkFunction) PeriodicButtonHandler,
(gpointer) gpButtonDataStore);
using the values of
PERIODIC_TIME_INTERVAL_LIGHTS=PERIODIC_TIME_INTERVAL_BUTTON=any number
which is the same
and it they do not seem to work, when I set the values of
PERIODIC_TIME_INTERVAL_BUTTON
and
PERIODIC_TIME_INTERVAL_LIGHTS
with a difference between them of about 200 or more the timers work.
Can someone
please tell me whats going on.
Cheers
Antony
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]