Tizen Native API

Functions

void elm_object_scroll_hold_push (Evas_Object *obj)
 Push the scroll hold by 1.
void elm_object_scroll_hold_pop (Evas_Object *obj)
 Pop the scroll hold by 1.
int elm_object_scroll_hold_get (const Evas_Object *obj)
 Get the scroll hold by 1.
void elm_object_scroll_freeze_push (Evas_Object *obj)
 Push the scroll freeze by 1.
void elm_object_scroll_freeze_pop (Evas_Object *obj)
 Pop the scroll freeze by 1.
int elm_object_scroll_freeze_get (const Evas_Object *obj)
 Get the scroll freeze by 1.
void elm_object_scroll_lock_x_set (Evas_Object *obj, Eina_Bool lock)
 Lock the scrolling of the given widget (and thus all parents)
void elm_object_scroll_lock_y_set (Evas_Object *obj, Eina_Bool lock)
 Lock the scrolling of the given widget (and thus all parents)
Eina_Bool elm_object_scroll_lock_x_get (const Evas_Object *obj)
 Get the scrolling lock of the given widget.
Eina_Bool elm_object_scroll_lock_y_get (const Evas_Object *obj)
 Get the scrolling lock of the given widget.

Objects when inside a scroller can scroll, but this may not always be desirable in certain situations. This allows an object to hint to itself and parents to "not scroll" in one of 2 ways. If any child object of a scroller has pushed a scroll freeze or hold then it affects all parent scrollers until all children have released them.

1. To hold on scrolling. This means just flicking and dragging may no longer scroll, but pressing/dragging near an edge of the scroller will still scroll. This is automatically used by the entry object when selecting text.

2. To totally freeze scrolling. This means it stops. until popped/released.


Function Documentation

Get the scroll freeze by 1.

Since :
2.3
Remarks:
This gets the scroll freeze count by one.
Parameters:
[in]objThe object
Returns:
The scroll freeze count
Since (EFL) :
1.7

Pop the scroll freeze by 1.

Since :
2.3
Remarks:
This decrements the scroll freeze count by one. If it is more than 0 it will take effect on the parents of the indicated object.
Parameters:
[in]objThe object

Push the scroll freeze by 1.

Since :
2.3
Remarks:
This increments the scroll freeze count by one. If it is more than 0 it will take effect on the parents of the indicated object.
Parameters:
[in]objThe object

Get the scroll hold by 1.

Since :
2.3
Remarks:
This gets the scroll hold count by one.
Parameters:
[in]objThe object
Returns:
The scroll hold count
Since (EFL) :
1.7

Pop the scroll hold by 1.

Since :
2.3
Remarks:
This decrements the scroll hold count by one. If it is more than 0 it will take effect on the parents of the indicated object.
Parameters:
[in]objThe object

Push the scroll hold by 1.

Since :
2.3
Remarks:
This increments the scroll hold count by one. If it is more than 0 it will take effect on the parents of the indicated object.
Parameters:
[in]objThe object

Get the scrolling lock of the given widget.

Since :
2.3
Remarks:
This gets the lock for X axis scrolling.
Parameters:
[in]objThe object

Lock the scrolling of the given widget (and thus all parents)

Since :
2.3
Remarks:
This locks the given object from scrolling in the X axis (and implicitly also locks all parent scrollers too from doing the same).
Parameters:
[in]objThe object
[in]lockThe lock state (1 == locked, 0 == unlocked)

Get the scrolling lock of the given widget.

Since :
2.3
Remarks:
This gets the lock for Y axis scrolling.
Parameters:
[in]objThe object

Lock the scrolling of the given widget (and thus all parents)

Since :
2.3
Remarks:
This locks the given object from scrolling in the Y axis (and implicitly also locks all parent scrollers too from doing the same).
Parameters:
[in]objThe object
[in]lockThe lock state (1 == locked, 0 == unlocked)