Description

Called when a read occurs on the descriptor.

Signature

read;

C information

EFL_LOOP_HANDLER_EVENT_READ(void)

C usage

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