Re: About gtk_timeout_add
- From: Clemens Kirchgatterer <clemens root at>
- To: Paul <jarlongl ms21 hinet net>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: About gtk_timeout_add
- Date: Tue, 03 Jul 2001 09:18:07 +0200
Paul wrote:
Hi, All
i want to write an animation program with maximum frame rate 30. So
i use
gtk_timeout_add(1000/30, (GtkFunction)animate, 0) to call animation
function every 1/30 second. But the animation function is called only
about 17 times/second.
i fear, that us the best one can get from gtk_timeout(). AFAIK it is
driven from the sheduler and so resolution is limited to what the os
provides (i.e.: linux 10ms).
hope this is correct ...
clemens
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]