Description

Called when canvas got focus

Signature

focus,in: free(Efl.Input.Focus, efl_del);

C information

C usage

static void
on_efl_canvas_event_focus_in(void *data, const Efl_Event *event)
{
    Efl_Input_Focus *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_CANVAS_EVENT_FOCUS_IN, on_efl_canvas_event_focus_in, d);
}