Description

Object has lost a reference and only one is left. It has just one owner now. Triggered whenever the refcount goes from two to one.

Since 1.22

Signature

ownership,unique @hot;

C information

C usage

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