Efl.Pack_Linear (interface)

Description

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

This means the sub-objects are internally organized in an ordered list.

Inheritance

Efl.Pack (interface)Efl.Container (interface)

Full hierarchy

Members

pack_after

Append an object after the existing sub-object.
Eina_Bool efl_pack_after(Eo *obj, Efl_Gfx_Entity *subobj, const Efl_Gfx_Entity *existing);


pack_at

Inserts subobj BEFORE the sub-object at position index.
Eina_Bool efl_pack_at(Eo *obj, Efl_Gfx_Entity *subobj, int index);


pack_before

Prepend an object before the existing sub-object.
Eina_Bool efl_pack_before(Eo *obj, Efl_Gfx_Entity *subobj, const Efl_Gfx_Entity *existing);


pack_begin

Prepend an object at the beginning of this container.
Eina_Bool efl_pack_begin(Eo *obj, Efl_Gfx_Entity *subobj);


pack_content_get

Sub-object at a given index in this container.
Efl_Gfx_Entity *efl_pack_content_get(Eo *obj, int index);


pack_end

Append object at the end of this container.
Eina_Bool efl_pack_end(Eo *obj, Efl_Gfx_Entity *subobj);


pack_index_get

Get the index of a sub-object in this container.
int efl_pack_index_get(Eo *obj, const Efl_Gfx_Entity *subobj);


pack_unpack_at

Pop out (remove) the sub-object at the specified index.
Efl_Gfx_Entity *efl_pack_unpack_at(Eo *obj, int index);


Inherited

Efl.Container
content_count Returns the number of contained sub-objects.
content_iterate Begin iterating over this object's contents.
Efl.Pack
pack Adds a sub-object to this container.
pack_clear Removes all packed sub-objects and unreferences them.
unpack Removes an existing sub-object from the container without deleting it.
unpack_all Removes all packed sub-objects without unreferencing them.

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.