elementary/grid - more API elm_grid_chidren_get
[framework/uifw/elementary.git] / src / lib / elm_grid.h
index 5efa9c3..d458ec3 100644 (file)
@@ -93,7 +93,7 @@ EAPI void         elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
 EAPI void         elm_grid_pack_set(Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
 
 /**
- * get packing of a child
+ * Get packing of a child
  *
  * @param subobj The child to query
  * @param x Pointer to integer to store the virtual x coord
@@ -106,5 +106,19 @@ EAPI void         elm_grid_pack_set(Evas_Object *subobj, Evas_Coord x, Evas_Coor
 EAPI void         elm_grid_pack_get(Evas_Object *subobj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
 
 /**
+ * Get the list of the children for the grid.
+ *
+ * @param obj The grid object
+ *
+ * @note This is a duplicate of the list kept by the grid internally.
+         It's up to the user to destroy it when it no longer needs it.
+                       It's possible to remove objects from the grid when walking this
+                       list, but these removals won't be reflected on it.
+ *
+ * @ingroup Grid
+ */
+EAPI Eina_List *elm_grid_children_get(const Evas_Object *obj);
+
+/**
  * @}
  */