Description

Add an observer to a group of observers.

Observers that observe this observable are grouped by the key and an observer can belong to multiple groups at the same time.

Since 1.19

Signature

observer_add {
    params {
        @in key: free(string, free);
        @in obs: free(Efl.Observer, efl_del);
    }
}

C signature

void efl_observable_observer_add(Eo *obj, const char *key, Efl_Observer *obs);

Parameters

  • key (in) - A key to classify observer groups
  • obs (in) - An observer object

Implemented by

  • Efl.Observable.observer_add