Description

Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any dangling pointer.

Signature

destruct @hot;

C information

EFL_EVENT_DESTRUCT(void, @hot)

C usage

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