Description

Searches upwards in the object tree for a provider which knows the given class/interface.

The object from the provider will then be returned. The base implementation calls the provider_find function on the object parent, and returns its result. If no parent is present NULL is returned. Each implementation has to support this function by overriding it and returning itself if the interface matches the parameter. If this is not done the class cannot be found up in the object tree.

Signature

provider_find @const {
    params {
        @in klass: free(const(Efl.Object), efl_del);
    }
    return: free(Efl.Object, efl_del);
}

C signature

Efl_Object *efl_provider_find(const Eo *obj, const Efl_Object *klass);

Parameters

  • klass (in) - The class identifier to search for

Implemented by

  • Efl.Object.provider_find