Description

Make an object a composite object of another.

The class of comp_obj must be part of the extensions of the class of the parent. It isn't possible to attach more then 1 composite of the same class. This function also sets the parent of comp_obj to parent.

See Efl.Object.composite_detach, Efl.Object.composite_part_is.

Signature

composite_attach {
    params {
        @in comp_obj: free(Efl.Object, efl_del);
    }
    return: bool;
}

C signature

Eina_Bool efl_composite_attach(Eo *obj, Efl_Object *comp_obj);

Parameters

  • comp_obj (in) - the object that will be used to composite the parent.

Implemented by

  • Efl.Object.composite_attach