Functions that deal with parts of type table. More...
Typedefs | |
typedef enum _Edje_Object_Table_Homogeneous_Mode | Edje_Object_Table_Homogeneous_Mode |
Enumerations | |
enum | _Edje_Object_Table_Homogeneous_Mode { EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE = 0, EDJE_OBJECT_TABLE_HOMOGENEOUS_TABLE = 1, EDJE_OBJECT_TABLE_HOMOGENEOUS_ITEM = 2 } |
#define | edje_obj_part_table_child_get(part, col, row, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_CHILD_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(unsigned int, col), EO_TYPECHECK(unsigned int, row), EO_TYPECHECK(Evas_Object **, ret) |
Retrieve a child from a table. More... | |
#define | edje_obj_part_table_pack(part, child_obj, col, row, colspan, rowspan, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_PACK), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Evas_Object *, child_obj), EO_TYPECHECK(unsigned short, col), EO_TYPECHECK(unsigned short, row), EO_TYPECHECK(unsigned short, colspan), EO_TYPECHECK(unsigned short, rowspan), EO_TYPECHECK(Eina_Bool *, ret) |
Packs an object into the table. More... | |
#define | edje_obj_part_table_unpack(part, child_obj, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_UNPACK), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Evas_Object *, child_obj), EO_TYPECHECK(Eina_Bool *, ret) |
Removes an object from the table. More... | |
#define | edje_obj_part_table_col_row_size_get(part, cols, rows, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_COL_ROW_SIZE_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(int *, cols), EO_TYPECHECK(int *, rows), EO_TYPECHECK(Eina_Bool *, ret) |
Gets the number of columns and rows the table has. More... | |
#define | edje_obj_part_table_clear(part, clear, ret) EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_CLEAR), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Eina_Bool, clear), EO_TYPECHECK(Eina_Bool *, ret) |
Removes all object from the table. More... | |
Evas_Object * | edje_object_part_table_child_get (const Evas_Object *obj, const char *part, unsigned int col, unsigned int row) |
Retrieve a child from a table. More... | |
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. More... | |
Eina_Bool | edje_object_part_table_unpack (Evas_Object *obj, const char *part, Evas_Object *child_obj) |
Removes an object from the table. More... | |
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 the table has. More... | |
Eina_Bool | edje_object_part_table_clear (Evas_Object *obj, const char *part, Eina_Bool clear) |
Removes all object from the table. More... | |
Functions that deal with parts of type table.
Table is a container type for parts, that means it can contain other parts.
#define edje_obj_part_table_child_get | ( | part, | |
col, | |||
row, | |||
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_CHILD_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(unsigned int, col), EO_TYPECHECK(unsigned int, row), EO_TYPECHECK(Evas_Object **, ret) |
Retrieve a child from a table.
[in] | part | |
[in] | col | |
[in] | row | |
[out] | ret |
Referenced by edje_object_part_table_child_get().
#define edje_obj_part_table_pack | ( | part, | |
child_obj, | |||
col, | |||
row, | |||
colspan, | |||
rowspan, | |||
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_PACK), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Evas_Object *, child_obj), EO_TYPECHECK(unsigned short, col), EO_TYPECHECK(unsigned short, row), EO_TYPECHECK(unsigned short, colspan), EO_TYPECHECK(unsigned short, rowspan), EO_TYPECHECK(Eina_Bool *, ret) |
Packs an object into the table.
[in] | part | |
[in] | child_obj | |
[in] | col | |
[in] | row | |
[in] | colspan | |
[in] | rowspan | |
[out] | ret |
Referenced by edje_object_part_table_pack().
#define edje_obj_part_table_unpack | ( | part, | |
child_obj, | |||
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_UNPACK), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Evas_Object *, child_obj), EO_TYPECHECK(Eina_Bool *, ret) |
Removes an object from the table.
[in] | part | |
[in] | child_obj | |
[out] | ret |
Referenced by edje_object_part_table_unpack().
#define edje_obj_part_table_col_row_size_get | ( | part, | |
cols, | |||
rows, | |||
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_COL_ROW_SIZE_GET), EO_TYPECHECK(const char *, part), EO_TYPECHECK(int *, cols), EO_TYPECHECK(int *, rows), EO_TYPECHECK(Eina_Bool *, ret) |
Gets the number of columns and rows the table has.
[in] | part | |
[out] | cols | |
[out] | rows | |
[out] | ret |
Referenced by edje_object_part_table_col_row_size_get().
#define edje_obj_part_table_clear | ( | part, | |
clear, | |||
ret | |||
) | EDJE_OBJ_ID(EDJE_OBJ_SUB_ID_PART_TABLE_CLEAR), EO_TYPECHECK(const char *, part), EO_TYPECHECK(Eina_Bool, clear), EO_TYPECHECK(Eina_Bool *, ret) |
Removes all object from the table.
[in] | part | |
[in] | clear | |
[out] | ret |
Referenced by edje_object_part_table_clear().
Evas_Object* edje_object_part_table_child_get | ( | const Evas_Object * | obj, |
const char * | part, | ||
unsigned int | col, | ||
unsigned int | row | ||
) |
Retrieve a child from a table.
obj | A valid Evas_Object handle |
part | The part name |
col | The column of the child to get |
row | The row of the child to get |
References EAPI, edje_obj_part_table_child_get, and evas_object_table_child_get().
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.
obj | A valid Evas_Object handle |
part | The part name |
child_obj | The object to pack in |
col | The column to place it in |
row | The row to place it in |
colspan | Columns the child will take |
rowspan | Rows the child will take |
EINA_TRUE
object was added, EINA_FALSE
on failurePacks an object into the table indicated by part.
References EAPI, edje_obj_part_table_pack, EINA_FALSE, EINA_TRUE, EVAS_CALLBACK_DEL, and evas_object_event_callback_add().
Referenced by edje_file_data_get().
Eina_Bool edje_object_part_table_unpack | ( | Evas_Object * | obj, |
const char * | part, | ||
Evas_Object * | child_obj | ||
) |
Removes an object from the table.
obj | A valid Evas_Object handle |
part | The part name |
child_obj | The object to pack in |
EINA_TRUE
object removed, EINA_FALSE
on failureRemoves an object from the table indicated by part.
References EAPI, edje_obj_part_table_unpack, EINA_FALSE, EINA_LIST_FOREACH, and EINA_TRUE.
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 the table has.
obj | A valid Evas_Object handle |
part | The part name |
cols | Pointer where to store number of columns (can be NULL) |
rows | Pointer where to store number of rows (can be NULL) |
EINA_TRUE
get some data, EINA_FALSE
on failureRetrieves the size of the table in number of columns and rows.
References EAPI, edje_obj_part_table_col_row_size_get, EINA_FALSE, EINA_TRUE, and evas_object_table_col_row_size_get().
Eina_Bool edje_object_part_table_clear | ( | Evas_Object * | obj, |
const char * | part, | ||
Eina_Bool | clear | ||
) |
Removes all object from the table.
obj | A valid Evas_Object handle |
part | The part name |
clear | If set, will delete subobjs on remove |
EINA_TRUE
clear the table, EINA_FALSE
on failureRemoves all object from the table indicated by part, except the internal ones set from the theme.
References EAPI, edje_obj_part_table_clear, EINA_FALSE, EINA_LIST_FREE, and EINA_TRUE.