Timer Interaction (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Next: Other Timer Routines, Previous: Timer Types, Up: Timer Object [Contents][Index]

#### 21.1.3 Timer Interaction

When a visible timer expires it starts blinking. The user can stop the blinking by pressing the mouse on it or by resetting the timer to 0.

The timer object is returned to the application program or its callback called when the timer expired per default. You can also switch off reporting the expiry of the timer by calling

    int fl_set_object_return(FL_OBJECT *obj, unsigned int when)

with `when` set to `FL_RETURN_NONE`. To re-enable reporting call it with one of `FL_RETURN_CHANGED`, `FL_RETURN_END`, `FL_RETURN_END_CHANGED` or `FL_RETURN_ALWAYS`.