~~Title: Efl.Object: ownership,shared~~ ===== 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// {{page>:develop:api-include:efl:object:event:ownership_shared:description&nouser&nolink&nodate}} ===== Signature ===== ownership,shared @hot; ===== C information ===== EFL_EVENT_OWNERSHIP_SHARED(void, @hot) ===== 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); }