Tizen Native API  6.0
Efl Extension Circle Genlist

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_Objecteext_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

Add a new circle genlist object.

Parameters:
[in]genlistThe genlist object
[in]surfaceThe 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

Get the scrollbar visibility policy.

Parameters:
[in]objThe circle genlist object
[out]policy_hThe horizontal scrollbar policy
[out]policy_vThe vertical scrollbar policy
See also:
eext_circle_object_genlist_scroller_policy_set();
Since :
2.3.1

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]objThe circle genlist object
[in]policy_hThe horizontal scrollbar policy
[in]policy_vThe vertical scrollbar policy
See also:
eext_circle_object_genlist_scroller_policy_get()
Since :
2.3.1