Efl.Object.provider_find

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.

Since 1.22

Signature

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

C signature

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

Parameters

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

Implemented by