Emitted if the manager has focused an object, the passed focus object is the last focused object

Since 1.20


focused: free(Efl.Ui.Focus.Object, efl_del);

C information

C usage

static void
on_efl_ui_focus_manager_event_focused(void *data, const Efl_Event *event)
    Efl_Ui_Focus_Object *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_UI_FOCUS_MANAGER_EVENT_FOCUSED, on_efl_ui_focus_manager_event_focused, d);