Tizen Native API  4.0
Efl Extension Circle Slider

Circle slider is circular designed widget to select a value in a range by rotary event.

Circle slider visualizes and utilizess slider as an arc of a circle. Length of an arc indicates a value in a range set by eext_circle_object_angle_min_max_set(). If rotary event is activated by eext_rotary_object_event_activated_set(), Circle slider increases its value by step value from eext_circle_object_slider_step_set() when clockwise rotary event is received, vice versa.

This widget emits the following signals:

  • "value,changed": Whenever the slider value is changed by the user.

The available circle object items are as follows:

  • "default": Default circle item. It draws slider bar.
  • "bg": Background circle item.

Functions

Evas_Objecteext_circle_object_slider_add (Evas_Object *parent, Eext_Circle_Surface *surface)
 Add a new circle slider object.
void eext_circle_object_slider_step_set (Evas_Object *obj, double step)
 Set the step value of the circle slider object.
double eext_circle_object_slider_step_get (const Evas_Object *obj)
 Get the step value of the circle slider object.

Function Documentation

Add a new circle slider object.

Parameters:
[in]parentThe parent 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 in case of an error
See also:
Efl Extension Circle Object
Since :
2.3.1

Get the step value of the circle slider object.

Parameters:
[in]objThe circle slider object
Returns:
The step value of the circle slider object
See also:
eext_circle_object_slider_step_set()
Since :
2.3.1
void eext_circle_object_slider_step_set ( Evas_Object obj,
double  step 
)

Set the step value of the circle slider object.

This value is used when circle slider object's value is changed by an event. The value of eext_circle_object_slider is increased/decreased by the step value.

Parameters:
[in]objThe circle slider object
[in]stepThe step value of the eext_circle_slider object
See also:
eext_circle_object_slider_step_get()
Since :
2.3.1