timer_thread¶
Background thread that sends an event after the specified interval.
Useful for timeouts or updating timers, clocks etc.
Classes:
|
Background Timer Class. |
Data:
An instance of |
-
class
Timer(parent, interval=1.0)[source]¶ Bases:
ThreadBackground Timer Class.
- Parameters
Methods:
join([timeout])Stop the thread and wait for it to end.
run()Run the timer thread.
-
timer_event= SimpleEvent(name=Timer)¶ Type:
SimpleEventAn instance of
domdf_python_tools.events.SimpleEventcalled Timer.This event is triggered when the timer has expired.