Efl.Pack (interface)

Description

API common to all UI container objects.

Inheritance

Efl.Container (interface)

Full hierarchy

Members

pack

Adds an item to this container.
Eina_Bool efl_pack(Eo *obj, Efl_Gfx *subobj);


pack_align (get, set)

Alignment of the container within its bounds
void efl_pack_align_get(const Eo *obj, double *align_horiz, double *align_vert);
void efl_pack_align_set(Eo *obj, double align_horiz, double align_vert);


pack_clear

Removes all packed contents, and unreferences them.
Eina_Bool efl_pack_clear(Eo *obj);


pack_padding (get, set)

Padding between items contained in this object.
void efl_pack_padding_get(const Eo *obj, double *pad_horiz, double *pad_vert, Eina_Bool *scalable);
void efl_pack_padding_set(Eo *obj, double pad_horiz, double pad_vert, Eina_Bool scalable);


unpack

Removes an existing item from the container, without deleting it.
Eina_Bool efl_pack_unpack(Eo *obj, Efl_Gfx *subobj);


unpack_all

Removes all packed contents, without unreferencing them.
Eina_Bool efl_pack_unpack_all(Eo *obj);


Inherited

Efl.Container
content_count Returns the number of UI elements packed in this container.
content_iterate Begin iterating over this object's contents.
content_remove Unswallow an object from this container.

Events

layout,updated

Sent after the layout was updated.
EFL_PACK_EVENT_LAYOUT_UPDATED(void)


Inherited

Efl.Container
content,added Sent after a new item was added.
content,removed Sent after an item was removed, before unref.