| Macros | |
| #define | ELM_GRID_CLASS elm_grid_class_get() | 
| Elementary grid class. | |
| Functions | |
| EOAPI void | elm_obj_grid_size_set (Eo *obj, int w, int h) | 
| Set the virtual size of the grid.  More... | |
| EOAPI void | elm_obj_grid_size_get (const Eo *obj, int *w, int *h) | 
| Get the virtual size of the grid.  More... | |
| EOAPI Eina_List * | elm_obj_grid_children_get (const Eo *obj) | 
| Get the list of the children for the grid.  More... | |
| EOAPI void | elm_obj_grid_clear (Eo *obj, Eina_Bool clear) | 
| Faster way to remove all child objects from a grid object.  More... | |
| EOAPI void | elm_obj_grid_unpack (Eo *obj, Efl_Canvas_Object *subobj) | 
| Unpack a child from a grid object.  More... | |
| EOAPI void | elm_obj_grid_pack (Eo *obj, Efl_Canvas_Object *subobj, int x, int y, int w, int h) | 
| Pack child at given position and size.  More... | |
| void | elm_grid_size_set (Elm_Grid *obj, int w, int h) | 
| Set the virtual size of the grid.  More... | |
| void | elm_grid_size_get (const Elm_Grid *obj, int *w, int *h) | 
| Get the virtual size of the grid.  More... | |
| Eina_List * | elm_grid_children_get (const Elm_Grid *obj) | 
| Get the list of the children for the grid.  More... | |
| void | elm_grid_clear (Elm_Grid *obj, Eina_Bool clear) | 
| Faster way to remove all child objects from a grid object.  More... | |
| void | elm_grid_unpack (Elm_Grid *obj, Efl_Canvas_Object *subobj) | 
| Unpack a child from a grid object.  More... | |
| void | elm_grid_pack (Elm_Grid *obj, Efl_Canvas_Object *subobj, int x, int y, int w, int h) | 
| Pack child at given position and size.  More... | |
| Evas_Object * | elm_grid_add (Evas_Object *parent) | 
| Add a new grid to the parent.  More... | |
| void | elm_grid_pack_set (Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h) | 
| Set packing of an existing child at to position and size.  More... | |
| void | elm_grid_pack_get (Evas_Object *subobj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h) | 
| Get packing of a child.  More... | |
 
The grid is a grid layout widget that lays out a series of children as a fixed "grid" of widgets using a given percentage of the grid width and height each using the child object.
The Grid uses a "Virtual resolution" that is stretched to fill the grid widgets size itself. The default is 100 x 100, so that means the position and sizes of children will effectively be percentages (0 to 100) of the width or height of the grid widget
| EOAPI void elm_obj_grid_size_set | ( | Eo * | obj, | 
| int | w, | ||
| int | h | ||
| ) | 
Set the virtual size of the grid.
| [in] | obj | The object. | 
| [in] | w | The virtual width of the grid | 
| [in] | h | The virtual height of the grid | 
Referenced by elm_grid_size_set().
| EOAPI void elm_obj_grid_size_get | ( | const Eo * | obj, | 
| int * | w, | ||
| int * | h | ||
| ) | 
Get the virtual size of the grid.
| [in] | obj | The object. | 
| [out] | w | The virtual width of the grid | 
| [out] | h | The virtual height of the grid | 
Referenced by elm_grid_size_get().
Get the list of the children for the grid.
| [in] | obj | The object. | 
Referenced by elm_grid_children_get().
Faster way to remove all child objects from a grid object.
| [in] | obj | The object. | 
| [in] | clear | If true, it will delete just removed children | 
Referenced by elm_grid_clear().
| EOAPI void elm_obj_grid_unpack | ( | Eo * | obj, | 
| Efl_Canvas_Object * | subobj | ||
| ) | 
Unpack a child from a grid object.
| [in] | obj | The object. | 
| [in] | subobj | The child to unpack | 
Referenced by elm_grid_unpack().
| EOAPI void elm_obj_grid_pack | ( | Eo * | obj, | 
| Efl_Canvas_Object * | subobj, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) | 
Pack child at given position and size.
| [in] | obj | The object. | 
| [in] | subobj | The child to pack. | 
| [in] | x | The virtual x coord at which to pack it. | 
| [in] | y | The virtual y coord at which to pack it. | 
| [in] | w | The virtual width at which to pack it. | 
| [in] | h | The virtual height at which to pack it. | 
Referenced by elm_grid_pack().
| void elm_grid_size_set | ( | Elm_Grid * | obj, | 
| int | w, | ||
| int | h | ||
| ) | 
Set the virtual size of the grid.
| [in] | obj | The object. | 
| [in] | w | The virtual width of the grid | 
| [in] | h | The virtual height of the grid | 
References elm_obj_grid_size_set().
| void elm_grid_size_get | ( | const Elm_Grid * | obj, | 
| int * | w, | ||
| int * | h | ||
| ) | 
Get the virtual size of the grid.
| [in] | obj | The object. | 
| [out] | w | The virtual width of the grid | 
| [out] | h | The virtual height of the grid | 
References elm_obj_grid_size_get().
| Eina_List* elm_grid_children_get | ( | const Elm_Grid * | obj | ) | 
Get the list of the children for the grid.
| [in] | obj | The object. | 
References elm_obj_grid_children_get().
| void elm_grid_clear | ( | Elm_Grid * | obj, | 
| Eina_Bool | clear | ||
| ) | 
Faster way to remove all child objects from a grid object.
| [in] | obj | The object. | 
| [in] | clear | If true, it will delete just removed children | 
References elm_obj_grid_clear().
| void elm_grid_unpack | ( | Elm_Grid * | obj, | 
| Efl_Canvas_Object * | subobj | ||
| ) | 
Unpack a child from a grid object.
| [in] | obj | The object. | 
| [in] | subobj | The child to unpack | 
References elm_obj_grid_unpack().
| void elm_grid_pack | ( | Elm_Grid * | obj, | 
| Efl_Canvas_Object * | subobj, | ||
| int | x, | ||
| int | y, | ||
| int | w, | ||
| int | h | ||
| ) | 
Pack child at given position and size.
| [in] | obj | The object. | 
| [in] | subobj | The child to pack. | 
| [in] | x | The virtual x coord at which to pack it. | 
| [in] | y | The virtual y coord at which to pack it. | 
| [in] | w | The virtual width at which to pack it. | 
| [in] | h | The virtual height at which to pack it. | 
References elm_obj_grid_pack().
| Evas_Object* elm_grid_add | ( | Evas_Object * | parent | ) | 
Add a new grid to the parent.
| parent | The parent object | 
| void elm_grid_pack_set | ( | Evas_Object * | subobj, | 
| Evas_Coord | x, | ||
| Evas_Coord | y, | ||
| Evas_Coord | w, | ||
| Evas_Coord | h | ||
| ) | 
Set packing of an existing child at to position and size.
| subobj | The child to set packing of | 
| x | The virtual x coord at which to pack it | 
| y | The virtual y coord at which to pack it | 
| w | The virtual width at which to pack it | 
| h | The virtual height at which to pack it | 
| void elm_grid_pack_get | ( | Evas_Object * | subobj, | 
| Evas_Coord * | x, | ||
| Evas_Coord * | y, | ||
| Evas_Coord * | w, | ||
| Evas_Coord * | h | ||
| ) | 
Get packing of a child.
| subobj | The child to query | 
| x | Pointer to integer to store the virtual x coord | 
| y | Pointer to integer to store the virtual y coord | 
| w | Pointer to integer to store the virtual width | 
| h | Pointer to integer to store the virtual height |