Description

Event occurs once the main loop enters the idle state.

Since 1.22

Signature

idle,enter @restart;

C information

EFL_LOOP_EVENT_IDLE_ENTER(void, @restart)

C usage

static void
on_efl_loop_event_idle_enter(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_ENTER, on_efl_loop_event_idle_enter, d);
}