SDL time handling and measurement wrapper module
Adds a timer callback to be called periodically.
Adds a timer callback to be called periodically using the specified interval. callable can be any callable objet, method or function. On invocation, the optional data will be passed to the callable.
This will return an CObject that acts as unique id for the timer callback.
Delays the execution for a specific time.
Delays the program execution for a specific time. The time is expressed in milliseconds.
Gets the number of milliseconds since the initialization of the underlying SDL library.
Gets the number of milliseconds since the initialization of the underlying SDL library. The value will wrap if the program runs for more than ~49 days.
Shuts down the timer subsystem of the SDL library.
After calling this function, you should not invoke any class, method or function related to the timer subsystem as they are likely to fail or might give unpredictable results.
Removes a previously added timer callback.
Removes a previously added timer callback and throws an exception, if the passed object is not a matching timer object.
Sets a single timer callback to be called periodically.
Sets a single timer callback to be called periodically using the specified interval in milliseconds. The timer callback can be reset by passing None as callable object.