Tizen Native API
Edje Table Part

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_Objectedje_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

Enumerator:
EDJE_OBJECT_TABLE_HOMOGENEOUS_NONE 

None homogeneous mode

EDJE_OBJECT_TABLE_HOMOGENEOUS_TABLE 

Table homogeneous mode

EDJE_OBJECT_TABLE_HOMOGENEOUS_ITEM 

Item homogeneous mode


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]objThe edje object
[in]partThe part name
[in]colThe column of the child to get
[in]rowThe 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]objThe edje object
[in]partThe part name
[in]clearIf 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]objThe edje object
[in]partThe part name
[out]colsPointer where to store number of columns (can be NULL)
[out]rowsPointer 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]objThe edje object
[in]partThe part name
[in]child_objThe object to pack in
[in]colThe column to place it in
[in]rowThe row to place it in
[in]colspanColumns the child will take
[in]rowspanRows 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]objThe edje object
[in]partThe part name
[in]child_objThe object to pack in