Tizen Native API
7.0
|
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_Object * | eext_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
Evas_Object* eext_circle_object_gengrid_add | ( | Evas_Object * | gengrid, |
Eext_Circle_Surface * | surface | ||
) |
Add a new circle gengrid object.
- Parameters:
-
[in] gengrid The gengrid 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 :
- 5.5
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.
- Parameters:
-
[in] obj The circle gengrid object [out] policy_h The horizontal scrollbar policy [out] policy_v The vertical scrollbar policy
- Since :
- 5.5
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.
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 gengrid object [in] policy_h The horizontal scrollbar policy [in] policy_v The vertical scrollbar policy
- Since :
- 5.5