Functions | |
EOAPI void | elm_obj_table_homogeneous_set (Eo *obj, Eina_Bool homogeneous) |
Control the homogenous state in a table. More... | |
EOAPI Eina_Bool | elm_obj_table_homogeneous_get (const Eo *obj) |
Control the homogenous state in a table. More... | |
EOAPI void | elm_obj_table_padding_set (Eo *obj, Evas_Coord horizontal, Evas_Coord vertical) |
Set padding between cells. More... | |
EOAPI void | elm_obj_table_padding_get (const Eo *obj, Evas_Coord *horizontal, Evas_Coord *vertical) |
Get padding between cells. More... | |
EOAPI void | elm_obj_table_align_set (Eo *obj, double horizontal, double vertical) |
Set alignment of table. More... | |
EOAPI void | elm_obj_table_align_get (const Eo *obj, double *horizontal, double *vertical) |
Get alignment of table. More... | |
EOAPI void | elm_obj_table_clear (Eo *obj, Eina_Bool clear) |
Faster way to remove all child objects from a table object. More... | |
EOAPI Efl_Canvas_Object * | elm_obj_table_child_get (const Eo *obj, int col, int row) |
Get child object of table at given coordinates. More... | |
EOAPI void | elm_obj_table_pack_set (Eo *obj, Efl_Canvas_Object *subobj, int column, int row, int colspan, int rowspan) |
Set the packing location of an existing child of the table. More... | |
EOAPI void | elm_obj_table_pack_get (Eo *obj, Efl_Canvas_Object *subobj, int *column, int *row, int *colspan, int *rowspan) |
Get the packing location of an existing child of the table. More... | |
EOAPI void | elm_obj_table_unpack (Eo *obj, Efl_Canvas_Object *subobj) |
Remove child from table. More... | |
EOAPI void | elm_obj_table_pack (Eo *obj, Efl_Canvas_Object *subobj, int column, int row, int colspan, int rowspan) |
Add a subobject on the table with the coordinates passed. More... | |
void | elm_table_homogeneous_set (Elm_Table *obj, Eina_Bool homogeneous) |
Control the homogenous state in a table. More... | |
Eina_Bool | elm_table_homogeneous_get (const Elm_Table *obj) |
Control the homogenous state in a table. More... | |
void | elm_table_padding_set (Elm_Table *obj, Evas_Coord horizontal, Evas_Coord vertical) |
Set padding between cells. More... | |
void | elm_table_padding_get (const Elm_Table *obj, Evas_Coord *horizontal, Evas_Coord *vertical) |
Get padding between cells. More... | |
void | elm_table_align_set (Elm_Table *obj, double horizontal, double vertical) |
Set alignment of table. More... | |
void | elm_table_align_get (const Elm_Table *obj, double *horizontal, double *vertical) |
Get alignment of table. More... | |
void | elm_table_clear (Elm_Table *obj, Eina_Bool clear) |
Faster way to remove all child objects from a table object. More... | |
Efl_Canvas_Object * | elm_table_child_get (const Elm_Table *obj, int col, int row) |
Get child object of table at given coordinates. More... | |
void | elm_table_unpack (Elm_Table *obj, Efl_Canvas_Object *subobj) |
Remove child from table. More... | |
void | elm_table_pack (Elm_Table *obj, Efl_Canvas_Object *subobj, int column, int row, int colspan, int rowspan) |
Add a subobject on the table with the coordinates passed. More... | |
Evas_Object * | elm_table_add (Evas_Object *parent) |
Add a new table to the parent. More... | |
void | elm_table_pack_set (Evas_Object *subobj, int col, int row, int colspan, int rowspan) |
Set the packing location of an existing child of the table. More... | |
void | elm_table_pack_get (Evas_Object *subobj, int *col, int *row, int *colspan, int *rowspan) |
Get the packing location of an existing child of the table. More... | |
A container widget to arrange other widgets in a table where items can span multiple columns or rows - even overlap (and then be raised or lowered accordingly to adjust stacking if they do overlap).
The row and column count is not fixed. The table widget adjusts itself when subobjects are added to it dynamically.
The most common way to use a table is:
The following are examples of how to use a table:
Control the homogenous state in a table.
[in] | homogeneous | A boolean to set if the layout is homogeneous in the table. |
Referenced by elm_table_homogeneous_set().
Control the homogenous state in a table.
Referenced by elm_table_homogeneous_get().
EOAPI void elm_obj_table_padding_set | ( | Eo * | obj, |
Evas_Coord | horizontal, | ||
Evas_Coord | vertical | ||
) |
Set padding between cells.
Default value is 0.
[in] | horizontal | The horizontal padding. |
[in] | vertical | The vertical padding. |
Referenced by elm_table_padding_set().
EOAPI void elm_obj_table_padding_get | ( | const Eo * | obj, |
Evas_Coord * | horizontal, | ||
Evas_Coord * | vertical | ||
) |
Get padding between cells.
[out] | horizontal | The horizontal padding. |
[out] | vertical | The vertical padding. |
Referenced by elm_table_padding_get().
EOAPI void elm_obj_table_align_set | ( | Eo * | obj, |
double | horizontal, | ||
double | vertical | ||
) |
Set alignment of table.
Default value is 0.5.
[in] | horizontal | The horizontal alignment. |
[in] | vertical | The vertical alignment. |
Referenced by elm_table_align_set().
EOAPI void elm_obj_table_align_get | ( | const Eo * | obj, |
double * | horizontal, | ||
double * | vertical | ||
) |
Get alignment of table.
[out] | horizontal | The horizontal alignment. |
[out] | vertical | The vertical alignment. |
Referenced by elm_table_align_get().
Faster way to remove all child objects from a table object.
[in] | clear | If true, will delete children, else just remove from table. |
Referenced by elm_table_clear().
EOAPI Efl_Canvas_Object* elm_obj_table_child_get | ( | const Eo * | obj, |
int | col, | ||
int | row | ||
) |
Get child object of table at given coordinates.
[in] | col | Column number of child object. |
[in] | row | Row number of child object. |
null
. Referenced by elm_table_child_get().
EOAPI void elm_obj_table_pack_set | ( | Eo * | obj, |
Efl_Canvas_Object * | subobj, | ||
int | column, | ||
int | row, | ||
int | colspan, | ||
int | rowspan | ||
) |
Set the packing location of an existing child of the table.
Modifies the position of an object already in the table.
[in] | subobj | The subobject to be modified in the table. |
[in] | column | Column number. |
[in] | row | Row number. |
[in] | colspan | Columns span. |
[in] | rowspan | Rows span. |
Referenced by elm_table_pack_set().
EOAPI void elm_obj_table_pack_get | ( | Eo * | obj, |
Efl_Canvas_Object * | subobj, | ||
int * | column, | ||
int * | row, | ||
int * | colspan, | ||
int * | rowspan | ||
) |
Get the packing location of an existing child of the table.
[in] | subobj | The subobject to be modified in the table. |
[out] | column | Column number. |
[out] | row | Row number. |
[out] | colspan | Columns span. |
[out] | rowspan | Rows span. |
Referenced by elm_table_pack_get().
EOAPI void elm_obj_table_unpack | ( | Eo * | obj, |
Efl_Canvas_Object * | subobj | ||
) |
EOAPI void elm_obj_table_pack | ( | Eo * | obj, |
Efl_Canvas_Object * | subobj, | ||
int | column, | ||
int | row, | ||
int | colspan, | ||
int | rowspan | ||
) |
Add a subobject on the table with the coordinates passed.
subobj
only takes that 1 cell.[in] | subobj | The subobject to be added to the table. |
[in] | column | Column number. |
[in] | row | Row number. |
[in] | colspan | Columns span. |
[in] | rowspan | Rows span. |
Referenced by elm_table_pack().
void elm_table_homogeneous_set | ( | Elm_Table * | obj, |
Eina_Bool | homogeneous | ||
) |
Control the homogenous state in a table.
[in] | homogeneous | A boolean to set if the layout is homogeneous in the table. |
References elm_obj_table_homogeneous_set().
Eina_Bool elm_table_homogeneous_get | ( | const Elm_Table * | obj | ) |
Control the homogenous state in a table.
References elm_obj_table_homogeneous_get().
void elm_table_padding_set | ( | Elm_Table * | obj, |
Evas_Coord | horizontal, | ||
Evas_Coord | vertical | ||
) |
Set padding between cells.
Default value is 0.
[in] | horizontal | The horizontal padding. |
[in] | vertical | The vertical padding. |
References elm_obj_table_padding_set().
void elm_table_padding_get | ( | const Elm_Table * | obj, |
Evas_Coord * | horizontal, | ||
Evas_Coord * | vertical | ||
) |
Get padding between cells.
[out] | horizontal | The horizontal padding. |
[out] | vertical | The vertical padding. |
References elm_obj_table_padding_get().
void elm_table_align_set | ( | Elm_Table * | obj, |
double | horizontal, | ||
double | vertical | ||
) |
Set alignment of table.
Default value is 0.5.
[in] | horizontal | The horizontal alignment. |
[in] | vertical | The vertical alignment. |
References elm_obj_table_align_set().
void elm_table_align_get | ( | const Elm_Table * | obj, |
double * | horizontal, | ||
double * | vertical | ||
) |
Get alignment of table.
[out] | horizontal | The horizontal alignment. |
[out] | vertical | The vertical alignment. |
References elm_obj_table_align_get().
void elm_table_clear | ( | Elm_Table * | obj, |
Eina_Bool | clear | ||
) |
Faster way to remove all child objects from a table object.
[in] | clear | If true, will delete children, else just remove from table. |
References elm_obj_table_clear().
Efl_Canvas_Object* elm_table_child_get | ( | const Elm_Table * | obj, |
int | col, | ||
int | row | ||
) |
Get child object of table at given coordinates.
[in] | col | Column number of child object. |
[in] | row | Row number of child object. |
null
. References elm_obj_table_child_get().
void elm_table_unpack | ( | Elm_Table * | obj, |
Efl_Canvas_Object * | subobj | ||
) |
void elm_table_pack | ( | Elm_Table * | obj, |
Efl_Canvas_Object * | subobj, | ||
int | column, | ||
int | row, | ||
int | colspan, | ||
int | rowspan | ||
) |
Add a subobject on the table with the coordinates passed.
subobj
only takes that 1 cell.[in] | subobj | The subobject to be added to the table. |
[in] | column | Column number. |
[in] | row | Row number. |
[in] | colspan | Columns span. |
[in] | rowspan | Rows span. |
References elm_obj_table_pack().
Evas_Object* elm_table_add | ( | Evas_Object * | parent | ) |
Add a new table to the parent.
parent | The parent object |
void elm_table_pack_set | ( | Evas_Object * | subobj, |
int | col, | ||
int | row, | ||
int | colspan, | ||
int | rowspan | ||
) |
Set the packing location of an existing child of the table.
subobj | The subobject to be modified in the table |
col | Column number |
row | Row number |
colspan | colspan |
rowspan | rowspan |
Modifies the position of an object already in the table.
subobj
only takes that 1 cell. References elm_obj_table_pack_set().
void elm_table_pack_get | ( | Evas_Object * | subobj, |
int * | col, | ||
int * | row, | ||
int * | colspan, | ||
int * | rowspan | ||
) |
Get the packing location of an existing child of the table.
subobj | The subobject to be modified in the table |
col | Column number |
row | Row number |
colspan | colspan |
rowspan | rowspan |
References elm_obj_table_pack_get(), evas_object_smart_calculate(), and evas_smart_legacy_type_register().