Efl.Pack_Table (interface)

Description

Interface for 2D containers which arrange their elements on a table with rows and columns.

Elements can be positioned on a specific row and column, or they can be simply added to the table using Efl.Pack.pack and the container will chose where to put them.

Since 1.23

Inheritance

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

Full hierarchy

Members

pack_table

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


table_cell_column (get, set)

column of the subobj in this container.
Eina_Bool efl_pack_table_cell_column_get(const Eo *obj, Efl_Gfx_Entity *subobj, int *col, int *colspan);
void efl_pack_table_cell_column_set(Eo *obj, Efl_Gfx_Entity *subobj, int col, int colspan);


table_cell_row (get, set)

row of the subobj in this container.
Eina_Bool efl_pack_table_cell_row_get(const Eo *obj, Efl_Gfx_Entity *subobj, int *row, int *rowspan);
void efl_pack_table_cell_row_set(Eo *obj, Efl_Gfx_Entity *subobj, int row, int rowspan);


table_columns (get, set)

Specifies the amount of columns the table will have when the fill direction is horizontal. If it is vertical, the amount of columns depends on the amount of cells added and Efl.Pack_Table.table_rows.
int efl_pack_table_columns_get(const Eo *obj);
void efl_pack_table_columns_set(Eo *obj, int cols);


table_content_get

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


table_contents_get

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_rows (get, set)

Specifies the amount of rows the table will have when the fill direction is vertical. If it is horizontal, the amount of rows depends on the amount of cells added and Efl.Pack_Table.table_columns.
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);


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.