Description

Called when state has changed

Signature

state,changed: Efl.Access.Event.State_Changed.Data;

C information

EFL_ACCESS_EVENT_STATE_CHANGED(Efl_Access_Event_State_Changed_Data)

C usage

static void
on_efl_access_event_state_changed(void *data, const Efl_Event *event)
{
    Efl_Access_Event_State_Changed_Data 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_ACCESS_EVENT_STATE_CHANGED, on_efl_access_event_state_changed, d);
}