Trigger timed event in DrawWidget
Closed this issue · 1 comments
rachael-wang commented
Is there a way to trigger an event every t seconds in widget? I find there's a feature called widget.timed
. Could you please give an example to show how to use that?
cduck commented
There's already an example of this here. Just replace the fps argument with 1/seconds.