Efl.Pack (interface)

Description

Common interface for objects (containers) with multiple contents (sub-objects) which can be added and removed at runtime.

Since 1.23

Inheritance

Efl.Container (interface)

Full hierarchy

Members

pack

Adds a sub-object to this container.
Eina_Bool efl_pack(Eo *obj, Efl_Gfx_Entity *subobj);


pack_clear

Removes all packed sub-objects and unreferences them.
Eina_Bool efl_pack_clear(Eo *obj);


unpack

Removes an existing sub-object from the container without deleting it.
Eina_Bool efl_pack_unpack(Eo *obj, Efl_Gfx_Entity *subobj);


unpack_all

Removes all packed sub-objects without unreferencing them.
Eina_Bool efl_pack_unpack_all(Eo *obj);


Inherited

Efl.Container
content_count Returns the number of contained sub-objects.
content_iterate Begin iterating over this object's contents.

Events

Inherited

Efl.Container
content,added Sent after a new sub-object was added.
content,removed Sent after a sub-object was removed, before unref.