Enlightenment CVS committal Author : rephorm Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/lib Modified Files: edje_util.c Log Message: docs =================================================================== RCS file: /cvs/e/e17/libs/edje/src/lib/edje_util.c,v retrieving revision 1.91 retrieving revision 1.92 diff -u -3 -r1.91 -r1.92 --- edje_util.c 4 Apr 2007 12:51:51 -0000 1.91 +++ edje_util.c 15 Apr 2007 04:24:07 -0000 1.92 @@ -26,8 +26,9 @@ /* FIXDOC: These all need to be looked over, Verified/Expanded upon. I just got lazy and stopped putting FIXDOC next to each function in this file. */ -/* FIXDOC: Expand */ -/** Freeze all objects in the Edje. +/** Freeze all Edje objects in the current process. + * + * See edje_object_freeze() for more. */ EAPI void edje_freeze(void) @@ -38,8 +39,9 @@ edje_object_freeze((Evas_Object *)(l->data)); } -/* FIXDOC: Expand */ -/** Thaw all objects in Edje. +/** Thaw all Edje objects in the current process. + * + * See edje_object_thaw() for more. */ EAPI void edje_thaw(void) @@ -71,6 +73,23 @@ * @param obj A valid Evas_Object handle * @param key The data key * @return The data string + * + * This fetches data specified at the object level. + * + * In EDC this comes from a data block within the group block that @a obj + * was loaded from. E.g. + * + * @code + * collections { + * group { + * name: "a_group"; + * data { + * item: "key1" "value1"; + * item: "key2" "value2"; + * } + * } + * } + * @endcode */ EAPI const char * edje_object_data_get(Evas_Object *obj, const char *key) @@ -634,7 +653,7 @@ * Gets the Evas_Object corresponding to a given part. * You should never modify the state of the returned object * (with evas_object_move() or evas_object_hide() for example), - * but you can safely query infos about its current state + * but you can safely query info about its current state * (with evas_object_visible_get() or evas_object_color_get() for example) * * @param obj A valid Evas_Object handle @@ -655,7 +674,7 @@ return rp->object; } -/** Get Edje part geometry +/** Get the geometry of an Edje part * @param obj A valid Evas_Object handle * @param part The Edje part * @param x The x coordinate pointer @@ -663,7 +682,10 @@ * @param w The width pointer * @param h The height pointer * - * Gets the Edje part geometry + * Gets the geometry of an Edje part + * + * It is valid to pass NULL as any of @a x, @a y, @a w or @a h, whose + * values you are uninterested in. */ EAPI void edje_object_part_geometry_get(Evas_Object *obj, const char *part, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h ) @@ -765,6 +787,9 @@ * Swallows the object into the edje part so that all geometry changes * for the part affect the swallowed object. (e.g. resize, move, show, * raise/lower, etc.). + * + * If an object has already been swallowed into this part, then it will + * first be unswallowed before the new object is swallowed. */ EAPI void edje_object_part_swallow(Evas_Object *obj, const char *part, Evas_Object *obj_swallow) @@ -954,7 +979,7 @@ * This sets the desired aspect ratio to keep an object that will be swallowed * by Edje. The width and height define a preferred size ASPECT and the * object may be scaled to be larger or smaller, but retaining the relative - * scale of both aspwct width and height. + * scale of both aspect width and height. */ EAPI void edje_extern_object_aspect_set(Evas_Object *obj, Edje_Aspect_Control aspect, Evas_Coord aw, Evas_Coord ah) @@ -1033,10 +1058,10 @@ } } -/** Get the swallowed part ?! +/** Get the object currently swallowed by a part * @param obj A valid Evas_Object handle * @param part The part name - * @return The swallowed object + * @return The swallowed object, or NULL if there is none. */ EAPI Evas_Object * edje_object_part_swallow_get(Evas_Object *obj, const char *part) @@ -1254,7 +1279,7 @@ } /** Returns the state of the Edje part - * @param obj A valid Evas_Objectart handle + * @param obj A valid Evas_Object handle * @param part The part name * @param val_ret * ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs