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:
Thread
Background 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:
SimpleEvent
An instance of
domdf_python_tools.events.SimpleEvent
called Timer.This event is triggered when the timer has expired.