[pygtk] gobject.timeout_add timeout recalculation

skip at pobox.com skip at pobox.com
Fri May 16 09:38:34 WST 2008


    >> If X is 2500ms and your callback takes 2ms to execute, the interval
    >> between successive calls will actually be 2502ms.

    Mitko> Unfortunately, it is how it work. In fact, that how I would like
                               ^ not?
    Mitko> it to work. Here is what my testing shows:

Hmmm...  It would appear the documentation is wrong.  I thought in the past
I remember seeing it work the other way.  I can't reproduce it with the
versions I have installed (2.6 and 2.10 at work and 2.12 at home).  I'm
installing gtk 1.2.10 on my Mac now.  I'll see how it works there.  (If I
can get it installed...)

Skip



More information about the pygtk mailing list