Tizen Native API  6.5
Efl Extension Circle Gengrid

Circle gengrid is based on elm_gengrid and is scrolled by rotary event.

Circle gengrid is to visualize and utilize scroll effect for elm_gengrid. While elm_gengrid provides scrollbar with straight horizontal/vertical movement, circle gengrid provides scrollbar with circular movement. Rotary event can be activated by eext_rotary_object_event_activated_set(), circle gengrid scrolls gengrid 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_gengrid_add (Evas_Object *gengrid, Eext_Circle_Surface *surface)
 Add a new circle gengrid object.
void eext_circle_object_gengrid_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_gengrid_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 gengrid object.

Parameters:
[in]gengridThe gengrid 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 :
5.5

Get the scrollbar visibility policy.

Parameters:
[in]objThe circle gengrid object
[out]policy_hThe horizontal scrollbar policy
[out]policy_vThe vertical scrollbar policy
See also:
eext_circle_object_gengrid_scroller_policy_set();
Since :
5.5

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 gengrid object
[in]policy_hThe horizontal scrollbar policy
[in]policy_vThe vertical scrollbar policy
See also:
eext_circle_object_gengrid_scroller_policy_get()
Since :
5.5