Arm a timer event on a widget
int PtTimerArm( PtWidget_t *widget, unsigned msec );
This function arms a timer event to be trigger after msec milliseconds. When the timer event is triggered, it's sent to the widget specified by widget. For this widget to receive the event, it must provide a raw callback of type Ph_EV_TIMER.
Any pending timers for a widget are removed automatically when the widget is unrealized. |
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |