Efl.Pack.Table (interface)


2D containers aligned on a table with rows and columns


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

Full hierarchy



Pack object at a given location in the table.
Eina_Bool efl_pack_table(Eo *obj, Efl_Gfx *subobj, int col, int row, int colspan, int rowspan);

table_columns (get, set)

Gird columns property
int efl_pack_table_columns_get(const Eo *obj);
void efl_pack_table_columns_set(Eo *obj, int cols);


Returns a child at a given position, see Efl.Pack.Table.table_contents_get.
Efl_Gfx *efl_pack_table_content_get(Eo *obj, int col, int row);


Returns all objects at a given position in this table.
Eina_Iterator *efl_pack_table_contents_get(Eo *obj, int col, int row, Eina_Bool below);

table_direction (get, set)

Primary and secondary up/left/right/down directions for linear apis.
void efl_pack_table_direction_get(const Eo *obj, Efl_Ui_Dir *primary, Efl_Ui_Dir *secondary);
void efl_pack_table_direction_set(Eo *obj, Efl_Ui_Dir primary, Efl_Ui_Dir secondary);

table_position (get)

Position and span of the subobj in this container, may be modified to move the subobj
Eina_Bool efl_pack_table_position_get(const Eo *obj, Efl_Gfx *subobj, int *col, int *row, int *colspan, int *rowspan);

table_rows (get, set)

Table rows property
int efl_pack_table_rows_get(const Eo *obj);
void efl_pack_table_rows_set(Eo *obj, int rows);

table_size (get, set)

void efl_pack_table_size_get(const Eo *obj, int *cols, int *rows);
void efl_pack_table_size_set(Eo *obj, int cols, int rows);


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.
pack Adds an item to this container.
pack_align (get, set) Alignment of the container within its bounds
pack_clear Removes all packed contents, and unreferences them.
pack_padding (get, set) Padding between items contained in this object.
unpack Removes an existing item from the container, without deleting it.
unpack_all Removes all packed contents, without unreferencing them.
pack_after Append item after other sub object.
pack_at Inserts subobj at the specified index.
pack_before Prepend item before other sub object.
pack_begin Prepend an object at the beginning of this container.
pack_content_get Content at a given index in this container.
pack_end Append object at the end of this container.
pack_index_get Get the index of a child in this container.
pack_unpack_at Pop out item at specified index.



content,added Sent after a new item was added.
content,removed Sent after an item was removed, before unref.
layout,updated Sent after the layout was updated.