Tizen Native API
3.0
|
Circle scroller is based on elm_scroller and is scrolled by rotary event.
Circle scroller is to visualize and utilize scroll effect for elm_scroller. While elm_scroller provides scrollbar with straight horizontal/vertical movement, circle scroller provides scrollbar with circular movement. Rotary event can be activated by eext_rotary_object_event_activated_set(), circle scroller scrolls items upward/leftward responding to counter clockwise rotary event, and scrolls downward/rightward responding to clockwise rotary event.
The available circle object items are as follows:
"default"
: Default circle item. It draws vertical scroll bar."vertical,scroll,bg"
: Vertical scroll background circle item."horizontal,scroll,bar"
: Horizontal scroll bar circle item."horizontal,scroll,bg"
: Horizontal scroll background circle item.
Functions | |
Evas_Object * | eext_circle_object_scroller_add (Evas_Object *scroller, Eext_Circle_Surface *surface) |
Add a new circle scroller object. | |
void | eext_circle_object_scroller_policy_set (Evas_Object *obj, Elm_Scroller_Policy policy_h, Elm_Scroller_Policy policy_v) |
Set the scrollbar visibility policy. | |
void | eext_circle_object_scroller_policy_get (const Evas_Object *obj, Elm_Scroller_Policy *policy_h, Elm_Scroller_Policy *policy_v) |
Get the scrollbar visibility policy. |
Function Documentation
Evas_Object* eext_circle_object_scroller_add | ( | Evas_Object * | scroller, |
Eext_Circle_Surface * | surface | ||
) |
Add a new circle scroller object.
- Parameters:
-
[in] scroller The scroller object [in] surface The Eext_Circle_Surface object to render the circle object. If NULL
, circle object will be rendered independently.
- Returns:
- A new circle object handle, otherwise
NULL
if it cannot be created
- See also:
- Efl Extension Circle Object
- Since :
- 2.3.1
void eext_circle_object_scroller_policy_get | ( | const Evas_Object * | obj, |
Elm_Scroller_Policy * | policy_h, | ||
Elm_Scroller_Policy * | policy_v | ||
) |
Get the scrollbar visibility policy.
- Parameters:
-
[in] obj The circle scroller object [out] policy_h The horizontal scrollbar policy [out] policy_v The vertical scrollbar policy
- Since :
- 2.3.1
void eext_circle_object_scroller_policy_set | ( | Evas_Object * | obj, |
Elm_Scroller_Policy | policy_h, | ||
Elm_Scroller_Policy | policy_v | ||
) |
Set the scrollbar visibility policy.
This sets the scrollbar visibility policy of a given scroller. ELM_SCROLLER_POLICY_AUTO
indicates the scrollbar is made visible if it is needed, and otherwise is kept hidden. ELM_SCROLLER_POLICY_ON
turns the scrollbar on all the time, and ELM_SCROLLER_POLICY_OFF
turns it off. This applies to the horizontal and vertical scrollbars respectively.
- Parameters:
-
[in] obj The circle scroller object [in] policy_h The horizontal scrollbar policy [in] policy_v The vertical scrollbar policy
- Since :
- 2.3.1