FabGL
ESP32 Display Controller and Graphics Library

◆ setTimer()

uiTimerHandle setTimer ( uiEvtHandler dest,
int  periodMS 
)

Setups a timer.

A timer fires uiApp.onTimer or uiFrame.onTimer delegate. To destroy a timer use uiApp.killTimer().

Parameters
destDestination window or app
periodMSTimer period in milliseconds
Returns
Handle identifying the new timer

Definition at line 936 of file fabui.cpp.