Tizen Native API
5.5
|
Circle spinner is based on elm_spinner and is operated by rotary event.
Circle spinner is to display and handle spinner value by rotary event. If rotary event is activated by eext_rotary_object_event_activated_set(), circle spinner increases/decreases value of elm_spinner by the clockwise/counter clockwise rotary event.
The available circle object items are as follows:
"default"
: Default circle item. It draws a marker.
Functions | |
Evas_Object * | eext_circle_object_spinner_add (Evas_Object *spinner, Eext_Circle_Surface *surface) |
Add a new circle spinner object. | |
void | eext_circle_object_spinner_angle_set (Evas_Object *obj, double angle) |
Set the circle spinner angle per each spinner value. |
Function Documentation
Evas_Object* eext_circle_object_spinner_add | ( | Evas_Object * | spinner, |
Eext_Circle_Surface * | surface | ||
) |
Add a new circle spinner object.
- Parameters:
-
[in] spinner The spinner 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_spinner_angle_set | ( | Evas_Object * | obj, |
double | angle | ||
) |
Set the circle spinner angle per each spinner value.
This is not set a circle spinner picker angle offset. It's set the angle per each spinner value. default angle per each spinner value is calculated below formula. (360/ max - min) * step
- Parameters:
-
[in] obj The circle spinner object [in] angle The angle value per each spinner value.
- Since :
- 2.3.1