EZwgl (7.4 Idle Callbacks)

## 7.4 Idle Callbacks

Idle callbacks are procedures executed at the time when there are no user inputs to process. Use the following three functions to manage idle callbacks.

    void    EZ_AddIdleCallBack(EZ_CallBack cb, void *data);
    void    EZ_RemoveIdleCallBack(EZ_CallBack cb, void *data);
    void    EZ_RemoveAllIdleCallBack(void);

One registered, an idle callback will be executed repeatly untile it is removed. To ensure an idle callback to be executed exactly once, remove the callback itself inside the callback.

If multiple idle callbacks are registered, EZwgl executes them in turn.

HTML Documentation Maintainance:`Arturo Espinosa <arturo@nuclecu.unam.mx>`