summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorSanjeev BA <iamsanjeev@gmail.com>2011-10-24 03:31:44 +0000
committerSanjeev BA <iamsanjeev@gmail.com>2011-10-24 03:31:44 +0000
commit484d2f953b29195919435a88373683666e747f4b (patch)
treedb4c9b7da864957f5b46af5819cb3a1c5688a9e8 /legacy
parentcf19d8b70833461de2e3b1bd091810497bb67134 (diff)
Improve scroller gravity documentation.
SVN revision: 64349
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/Elementary.h.in23
1 files changed, 14 insertions, 9 deletions
diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in
index 95f8df0691..845508042a 100644
--- a/legacy/elementary/src/lib/Elementary.h.in
+++ b/legacy/elementary/src/lib/Elementary.h.in
@@ -7198,9 +7198,9 @@ extern "C" {
7198 * @param v_pagenumber The vertical page number 7198 * @param v_pagenumber The vertical page number
7199 * 7199 *
7200 * The page number starts from 0. 0 is the first page. 7200 * The page number starts from 0. 0 is the first page.
7201 * Current page means the page which meet the top-left of the viewport. 7201 * Current page means the page which meets the top-left of the viewport.
7202 * If there are two or more pages in the viewport, it returns the number of page 7202 * If there are two or more pages in the viewport, it returns the number of the page
7203 * which meet the top-left of the viewport. 7203 * which meets the top-left of the viewport.
7204 * 7204 *
7205 * @see elm_scroller_last_page_get() 7205 * @see elm_scroller_last_page_get()
7206 * @see elm_scroller_page_show() 7206 * @see elm_scroller_page_show()
@@ -7316,12 +7316,17 @@ extern "C" {
7316 * @param x The scrolling horizontal gravity 7316 * @param x The scrolling horizontal gravity
7317 * @param y The scrolling vertical gravity 7317 * @param y The scrolling vertical gravity
7318 * 7318 *
7319 * It set scrolling gravity. It adds scrolling weight values 7319 * The gravity, defines how the scroller will adjust its view
7320 * to the scroller. Usually it uses for stopping the scroller. 7320 * when the size of the scroller contents increase.
7321 * To set y as 0.0 for lower growing child objects, 7321 *
7322 * even though child objects are added to bottom, the scroller doesn't move. 7322 * The scroller will adjust the view to glue itself as follows.
7323 * To set y as 1.0 for upper growing child objects. And x is horizontal gravity. 7323 *
7324 * By default 0.0 for x and y. 7324 * x=0.0, for showing the left most region of the content.
7325 * x=1.0, for showing the right most region of the content.
7326 * y=0.0, for showing the bottom most region of the content.
7327 * y=1.0, for showing the top most region of the content.
7328 *
7329 * Default values for x and y are 0.0
7325 */ 7330 */
7326 EAPI void elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1); 7331 EAPI void elm_scroller_gravity_set(Evas_Object *obj, double x, double y) EINA_ARG_NONNULL(1);
7327 /** 7332 /**