Functions

void eo_composite_attach (Eo *comp_obj, Eo *parent)
 Make an object a composite object of another.
 
void eo_composite_detach (Eo *comp_obj, Eo *parent)
 Detach a composite object from another object.
 
Eina_Bool eo_composite_is (const Eo *comp_obj)
 Check if an object is a composite object.
 

Detailed Description

Function Documentation

void eo_composite_attach ( Eo comp_obj,
Eo parent 
)

Make an object a composite object of another.

Parameters
comp_objthe object that will be used to composite parent.
parentthe "parent" object.

This functions also sets the parent of comp_obj to parent.

See Also
eo_composite_detach()
eo_composite_is()

References eina_list_prepend(), EINA_TRUE, and eo_parent_set().

void eo_composite_detach ( Eo comp_obj,
Eo parent 
)

Detach a composite object from another object.

Parameters
comp_objthe object attached to parent.
parentthe "parent" object.

This functions also sets the parent of comp_obj to NULL.

See Also
eo_composite_attach()
eo_composite_is()

References EINA_FALSE, eina_list_remove(), and eo_parent_set().

Referenced by eo_parent_set().

Eina_Bool eo_composite_is ( const Eo comp_obj)

Check if an object is a composite object.

Parameters
comp_objthe object to be checked.
Returns
EINA_TRUE if it is, EINA_FALSE otherwise.
See Also
eo_composite_attach()
eo_composite_detach()

References EINA_FALSE.

Referenced by eo_parent_set().