Difference between revisions of "Dabo.ui.callEvery"
(Created page with "== Signature: == <syntaxhighlight lang="python"> dabo.ui.callEvery(interval, func, *args, **kwargs) </syntaxhighlight> == Description: == Creates and returns a timer object...")
Latest revision as of 14:25, 14 May 2020
dabo.ui.callEvery(interval, func, *args, **kwargs)
Creates and returns a timer object that fires the specified function at the specified interval. Interval is given in milliseconds. It will pass along any additional arguments to the function when it is called.
An instance of dabo.ui.dTimer
This is a handy shortcut available for when you want a function to be called periodically under the control of a timer. You can call the timer's
start() methods to turn the firing of the function off and on, or you can call the timer's
release() method when you no longer need the function to be called.