Re: Question of periodic display on spin button
- From: Fritz Ganter <ganter ganter at>
- To: Michael Lam <b456789 netvigator com>
- Cc: gnome gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Question of periodic display on spin button
- Date: 03 May 2003 21:39:59 +0200
Am Sam, 2003-05-03 um 20.58 schrieb Michael Lam:
spin button start changing value from 1 to 100 each second. However,
it is not the case. The values are not just updated as frequently as
expected.
Try:
while (gtk_events_pending ())
gtk_main_iteration ();
before the "sleep(1)".
--
Fritz "der mit dem Linux tanzt" Ganter http://www.kraftvoll.at
Key fingerprint = 555A DDBB 3985 16FF CD41 2031 C485 1783 BF34 728F
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]