Functions |
Evas_Object * | evas_object_grid_add (Evas *evas) |
| Creates a new grid.
|
Evas_Object * | evas_object_grid_add_to (Evas_Object *parent) |
| Creates a grid that is child of a given element parent.
|
void | evas_object_grid_size_set (Evas_Object *o, int w, int h) |
| Sets the virtual resolution for the grid.
|
void | evas_object_grid_size_get (const Evas_Object *o, int *w, int *h) |
| Gets the current virtual resolution.
|
void | evas_object_grid_mirrored_set (Evas_Object *o, Eina_Bool mirrored) |
| Sets the mirrored mode of the grid.
|
Eina_Bool | evas_object_grid_mirrored_get (const Evas_Object *o) |
| Gets the mirrored mode of the grid.
|
Eina_Bool | evas_object_grid_pack (Evas_Object *o, Evas_Object *child, int x, int y, int w, int h) |
| Adds a new child to a grid object.
|
Eina_Bool | evas_object_grid_unpack (Evas_Object *o, Evas_Object *child) |
| Removes child from grid.
|
void | evas_object_grid_clear (Evas_Object *o, Eina_Bool clear) |
| Removes all child objects from a grid object.
|
Eina_Bool | evas_object_grid_pack_get (const Evas_Object *o, Evas_Object *child, int *x, int *y, int *w, int *h) |
| Gets the pack options for a grid child.
|
Eina_Iterator * | evas_object_grid_iterator_new (const Evas_Object *o) |
| Gets an iterator to walk the list of children for the grid.
|
Eina_Accessor * | evas_object_grid_accessor_new (const Evas_Object *o) |
| Gets an accessor to get random access to the list of children for the grid.
|
Eina_List * | evas_object_grid_children_get (const Evas_Object *o) |
| Gets the list of children for the grid.
|
This group provides functions for grid smart objects.
- Since (EFL) :
- 1.1
Function Documentation
Gets an accessor to get random access to the list of children for the grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
- Returns:
- An accessor to get random access to the list of children for the grid,
otherwise NULL
in case of errors
Creates a new grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
- Returns:
- The new grid object
Creates a grid that is child of a given element parent.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | parent | The parent element |
- Returns:
- The new grid object
- See also:
- evas_object_grid_add()
Gets the list of children for the grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
- Returns:
- The list of children for the grid
Removes all child objects from a grid object.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The given grid object |
[in] | clear | Set EINA_TRUE to delete the just removed children,
otherwise set EINA_FALSE to not delete them |
Gets an iterator to walk the list of children for the grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
- Returns:
- An iterator to walk through the children of the object,
otherwise NULL
in case of errors
Sets the mirrored mode of the grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The grid object |
[in] | mirrored | The mirrored mode to set |
Adds a new child to a grid object.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The given grid object |
[in] | child | The child object to add |
[in] | x | The virtual x coordinate of the child |
[in] | y | The virtual y coordinate of the child |
[in] | w | The virtual width of the child |
[in] | h | The virtual height of the child |
- Returns:
- EINA_TRUE if the child is added successfully,
otherwise EINA_FALSE on failure
Gets the pack options for a grid child.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The grid object |
[in] | child | The grid child to query for coordinates |
[out] | x | The pointer to where the x coordinate to be returned |
[out] | y | The pointer to where the y coordinate to be returned |
[out] | w | The pointer to where the width to be returned |
[out] | h | The pointer to where the height to be returned |
- Returns:
- EINA_TRUE if the pack options are obtained successfully, otherwise EINA_FALSE on failure
Gets the current virtual resolution.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The grid object to query |
[out] | w | A pointer to an integer to store the virtual width |
[out] | h | A pointer to an integer to store the virtual height |
- See also:
- evas_object_grid_size_set()
Sets the virtual resolution for the grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The grid object to modify |
[in] | w | The virtual horizontal size (resolution) in integer units |
[in] | h | The virtual vertical size (resolution) in integer units |
Removes child from grid.
- Since (EFL) :
- 1.1
- Since :
- 2.3
- Parameters:
-
[in] | o | The given grid object |
[in] | child | The child object to remove |
- Returns:
- EINA_TRUE if the child is removed successfully,
otherwise EINA_FALSE on failure