FAQ Index - Search - Recent Changes - Everything - Add entry

<< Previous Entry | FAQ Entry 1.21 | Next Entry >>

1.21. Does PyGTK have timers?

The answer is yes! The function you are looking for is gobject.timeout_add() (or gobject.timeout_add_seconds() for longer periods).

See [nkour.blogspot.com] for a very easy example on how to use timers in PyGTK

PyGTK FAQ Wizard | PyGTK Homepage | Feedback to faq at pygtk.org