TTkTimer🌶️

class TTkTimer[source]🌶️

Bases: Thread

Slots🌶️

start([sec])

Start the thread's activity.

stop()

Methods🌶️

quit()[source]🌶️
run()[source]🌶️

Method representing the thread’s activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

start(sec=0.0)[source]🌶️

Start the thread’s activity.

It must be called at most once per thread object. It arranges for the object’s run() method to be invoked in a separate thread of control.

This method will raise a RuntimeError if called more than once on the same thread object.

stop()[source]🌶️

TTkTimer Attributes🌶️

daemon

A boolean value indicating whether this thread is a daemon thread.

ident

Thread identifier of this thread or None if it has not been started.

name

A string used for identification purposes only.

native_id

Native integral thread ID of this thread, or None if it has not been started.

timeout