Tizen Native API
|
This group discusses functions that deal with parts of type table.
- Remarks:
- Table is a container type for parts, that means it can contain other parts.
Functions | |
Evas_Object * | edje_object_part_table_child_get (const Evas_Object *obj, const char *part, unsigned int col, unsigned int row) |
Gets a child from a table. | |
Eina_Bool | edje_object_part_table_pack (Evas_Object *obj, const char *part, Evas_Object *child_obj, unsigned short col, unsigned short row, unsigned short colspan, unsigned short rowspan) |
Packs an object into the table. | |
Eina_Bool | edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj) |
Removes an object from the table. | |
Eina_Bool | edje_object_part_table_col_row_size_get (const Evas_Object *obj, const char *part, int *cols, int *rows) |
Gets the number of columns and rows that the table has. | |
Eina_Bool | edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear) |
Removes all the objects from the table. |
Function Documentation
Evas_Object* edje_object_part_table_child_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
unsigned int | col, | ||
unsigned int | row | ||
) |
Gets a child from a table.
- Since :
- 2.3.1
- Parameters:
-
[in] obj A valid Evas_Object handle [in] part The part name [in] col The column of the child to get [in] row The row of the child to get
- Returns:
- The child Evas_Object
Eina_Bool edje_object_part_table_clear | ( | Evas_Object * | obj, |
const char * | part, | ||
Eina_Bool | clear | ||
) |
Removes all the objects from the table.
This removes all the objects from the table indicated by the part, except the internal ones set from the theme.
- Since :
- 2.3.1
- Parameters:
-
[in] obj A valid Evas_Object handle [in] part The part name [in] clear If set, it deletes subobjs on removal
- Returns:
- EINA_TRUE to clear the table, otherwise EINA_FALSE on failure
Eina_Bool edje_object_part_table_col_row_size_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
int * | cols, | ||
int * | rows | ||
) |
Gets the number of columns and rows that the table has.
This gets the size of the table in the form of number of columns and rows.
- Since :
- 2.3.1
- Parameters:
-
[in] obj A valid Evas_Object handle [in] part The part name [out] cols A pointer to store the number of columns (can be NULL
)[out] rows A pointer to store the number of rows (can be NULL
)
- Returns:
- EINA_TRUE to get some data, otherwise EINA_FALSE on failure
Eina_Bool edje_object_part_table_pack | ( | Evas_Object * | obj, |
const char * | part, | ||
Evas_Object * | child_obj, | ||
unsigned short | col, | ||
unsigned short | row, | ||
unsigned short | colspan, | ||
unsigned short | rowspan | ||
) |
Packs an object into the table.
This packs an object into the table indicated by the part.
- Since :
- 2.3.1
- Parameters:
-
[in] obj A valid Evas_Object handle [in] part The part name [in] child_obj The object to pack in [in] col The column to place it in [in] row The row to place it in [in] colspan The columns the child takes [in] rowspan The rows the child takes
- Returns:
- EINA_TRUE if the object is added, otherwise EINA_FALSE on failure
Eina_Bool edje_object_part_table_unpack | ( | Evas_Object * | obj, |
const char * | part, | ||
Evas_Object * | child_obj | ||
) |
Removes an object from the table.
This removes an object from the table indicated by the part.
- Since :
- 2.3.1
- Parameters:
-
[in] obj A valid Evas_Object handle [in] part The part name [in] child_obj The object to pack in
- Returns:
- EINA_TRUE if the object is removed, otherwise EINA_FALSE on failure