/usr/include/elementary-1/elm_grid_legacy.h is in libelementary-dev 1.8.5-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | /**
* Add a new grid to the parent
*
* @param parent The parent object
* @return The new object or NULL if it cannot be created
*
* @ingroup Grid
*/
EAPI Evas_Object *elm_grid_add(Evas_Object *parent);
/**
* Set the virtual size of the grid
*
* @param obj The grid object
* @param w The virtual width of the grid
* @param h The virtual height of the grid
*
* @ingroup Grid
*/
EAPI void elm_grid_size_set(Evas_Object *obj, Evas_Coord w, Evas_Coord h);
/**
* Get the virtual size of the grid
*
* @param obj The grid object
* @param w Pointer to integer to store the virtual width of the grid
* @param h Pointer to integer to store the virtual height of the grid
*
* @ingroup Grid
*/
EAPI void elm_grid_size_get(const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h);
/**
* Pack child at given position and size
*
* @param obj The grid object
* @param subobj The child to pack
* @param x The virtual x coord at which to pack it
* @param y The virtual y coord at which to pack it
* @param w The virtual width at which to pack it
* @param h The virtual height at which to pack it
*
* @ingroup Grid
*/
EAPI void elm_grid_pack(Evas_Object *obj, Evas_Object *subobj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
/**
* Unpack a child from a grid object
*
* @param obj The grid object
* @param subobj The child to unpack
*
* @ingroup Grid
*/
EAPI void elm_grid_unpack(Evas_Object *obj, Evas_Object *subobj);
/**
* Faster way to remove all child objects from a grid object.
*
* @param obj The grid object
* @param clear If true, it will delete just removed children
*
* @ingroup Grid
*/
EAPI void elm_grid_clear(Evas_Object *obj, Eina_Bool clear);
/**
* Set packing of an existing child at to position and size
*
* @param subobj The child to set packing of
* @param x The virtual x coord at which to pack it
* @param y The virtual y coord at which to pack it
* @param w The virtual width at which to pack it
* @param h The virtual height at which to pack it
*
* @ingroup Grid
*/
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
*
* @param subobj The child to query
* @param x Pointer to integer to store the virtual x coord
* @param y Pointer to integer to store the virtual y coord
* @param w Pointer to integer to store the virtual width
* @param h Pointer to integer to store the virtual height
*
* @ingroup Grid
*/
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);
|