Description

Event occurs once the main loop is idle. If you keep listening on this event it may increase the burden on your CPU.

Since 1.22

Signature

idle @restart;

C information

EFL_LOOP_EVENT_IDLE(void, @restart)

C usage

static void
on_efl_loop_event_idle(void *data, const Efl_Event *event)
{
    void info = event->info;
    Eo *obj = event->object;
    Data *d = data;
 
    /* event hander code */
}
 
static void
setup_event_handler(Eo *obj, Data *d)
{
    efl_event_callback_add(obj, EFL_LOOP_EVENT_IDLE, on_efl_loop_event_idle, d);
}