Tizen Native API
|
Functions | |
Eina_Bool | edje_object_part_table_clear (Edje_Object *obj, const char *part, Eina_Bool clear) |
Removes all object from the table. | |
Eina_Bool | edje_object_part_table_unpack (Edje_Object *obj, const char *part, Evas_Object *child_obj) |
Removes an object from the table. | |
Eina_Bool | edje_object_part_table_pack (Edje_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_col_row_size_get (const Edje_Object *obj, const char *part, int *cols, int *rows) |
Gets the number of columns and rows the table has. | |
Evas_Object * | edje_object_part_table_child_get (const Edje_Object *obj, const char *part, unsigned int col, unsigned int row) |
Retrieve a child from a table. |
Functions that deal with parts of type table.
Table is a container type for parts, that means it can contain other parts.
Enumeration Type Documentation
Function Documentation
Evas_Object* edje_object_part_table_child_get | ( | const Edje_Object * | obj, |
const char * | part, | ||
unsigned int | col, | ||
unsigned int | row | ||
) |
Retrieve a child from a table.
- Since :
- 2.3
- Returns:
- The child Evas_Object
- Parameters:
-
[in] obj The edje object [in] part The part name [in] col The column of the child to get [in] row The row of the child to get
Eina_Bool edje_object_part_table_clear | ( | Edje_Object * | obj, |
const char * | part, | ||
Eina_Bool | clear | ||
) |
Removes all object from the table.
- Since :
- 2.3
- Returns:
EINA_TRUE
clear the table,EINA_FALSE
on failure
Removes all object from the table indicated by part, except the internal ones set from the theme.
- Parameters:
-
[in] obj The edje object [in] part The part name [in] clear If set, will delete subobjs on remove
Eina_Bool edje_object_part_table_col_row_size_get | ( | const Edje_Object * | obj, |
const char * | part, | ||
int * | cols, | ||
int * | rows | ||
) |
Gets the number of columns and rows the table has.
- Since :
- 2.3
- Returns:
EINA_TRUE
get some data,EINA_FALSE
on failure
Retrieves the size of the table in number of columns and rows.
- Parameters:
-
[in] obj The edje object [in] part The part name [out] cols Pointer where to store number of columns (can be NULL) [out] rows Pointer where to store number of rows (can be NULL)
Eina_Bool edje_object_part_table_pack | ( | Edje_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.
- Since :
- 2.3
- Returns:
EINA_TRUE
object was added,EINA_FALSE
on failure
Packs an object into the table indicated by part.
- Parameters:
-
[in] obj The edje object [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 Columns the child will take [in] rowspan Rows the child will take
Eina_Bool edje_object_part_table_unpack | ( | Edje_Object * | obj, |
const char * | part, | ||
Evas_Object * | child_obj | ||
) |
Removes an object from the table.
- Since :
- 2.3
- Returns:
EINA_TRUE
object removed,EINA_FALSE
on failure
Removes an object from the table indicated by part.
- Parameters:
-
[in] obj The edje object [in] part The part name [in] child_obj The object to pack in