Tizen Native API
5.0
|
Circle genlist is based on elm_genlist and is scrolled by rotary event.
Circle genlist is to visualize and utilize scroll effect for elm_genlist. While elm_genlist provides scrollbar with straight horizontal/vertical movement, circle genlist provides scrollbar with circular movement. Rotary event can be activated by eext_rotary_object_event_activated_set(), circle genlist scrolls genlist 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.
Functions | |
Evas_Object * | eext_circle_object_genlist_add (Evas_Object *genlist, Eext_Circle_Surface *surface) |
Add a new circle genlist object. | |
void | eext_circle_object_genlist_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_genlist_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_genlist_add | ( | Evas_Object * | genlist, |
Eext_Circle_Surface * | surface | ||
) |
Add a new circle genlist object.
- Parameters:
-
[in] genlist The genlist 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_genlist_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 genlist object [out] policy_h The horizontal scrollbar policy [out] policy_v The vertical scrollbar policy
- Since :
- 2.3.1
void eext_circle_object_genlist_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 for a given scroller. ELM_SCROLLER_POLICY_AUTO
means the scrollbar is made visible if it is needed, and otherwise kept hidden. ELM_SCROLLER_POLICY_ON
turns it on all the time, and ELM_SCROLLER_POLICY_OFF
always keeps it off. This applies respectively for the vertical scrollbars.
- Parameters:
-
[in] obj The circle genlist object [in] policy_h The horizontal scrollbar policy [in] policy_v The vertical scrollbar policy
- Since :
- 2.3.1