Common interface for objects (containers) with multiple contents (sub-objects) which can be added and removed at runtime.
Since 1.23
⇒ Efl.Container (interface)
Adds a sub-object to this container.
Eina_Bool efl_pack(Eo *obj, Efl_Gfx_Entity *subobj);
Removes all packed sub-objects and unreferences them.
Eina_Bool efl_pack_clear(Eo *obj);
Removes an existing sub-object from the container without deleting it.
Eina_Bool efl_pack_unpack(Eo *obj, Efl_Gfx_Entity *subobj);
Removes all packed sub-objects without unreferencing them.
Eina_Bool efl_pack_unpack_all(Eo *obj);
Efl.Container | ||
---|---|---|
content_count | Returns the number of contained sub-objects. | |
content_iterate | Begin iterating over this object's contents. |
Efl.Container | ||
---|---|---|
content,added | Sent after a new sub-object was added. | |
content,removed | Sent after a sub-object was removed, before unref. |