Description

Object has acquired a second reference. It has multiple owners now. Triggered whenever increasing the refcount from one to two, it will not trigger by further increasing the refcount beyond two.

Since 1.22

Signature

ownership,shared @hot;

C information

C usage

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