Subclasses must override the following methods:
_timer_start
: Backend-specific code for starting the timer.
_timer_stop
: Backend-specific code for stopping the timer.
Subclasses may additionally override the following methods:
_timer_set_single_shot
: Code for setting the timer to single shot operating mode, if supported by the timer object. If not, the :None:None:`Timer`
class itself will store the flag and the _on_timer
method should be overridden to support such behavior.
_timer_set_interval
: Code for setting the interval on the timer, if there is a method for doing so on the timer object.
_on_timer
: The internal function that any timer object should call, which will handle the task of running all callbacks that have been set.
A base class for providing timer events, useful for things animations. Backends need to implement a few specific methods in order to use their own timing mechanisms so that the timer events are integrated into their event loops.
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them