summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2016-03-23 12:38:56 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2016-03-23 15:12:25 +0530
commit8df09156348d7e095fc1120fc8f39b6971e2961c (patch)
treee3387eec3f33a71048ef5881e022ee47af149e29
parente87858cc31e4e03cdb0cac08d0e15152efdd2be6 (diff)
slider: rename APIsdevs/ami/range
range_set/get --> property range_enabled_set/get
-rw-r--r--src/bin/test_slider.c107
-rw-r--r--src/lib/elm_slider.c51
-rw-r--r--src/lib/elm_slider.eo25
3 files changed, 135 insertions, 48 deletions
diff --git a/src/bin/test_slider.c b/src/bin/test_slider.c
index b9fa0ba0a..6038dac3c 100644
--- a/src/bin/test_slider.c
+++ b/src/bin/test_slider.c
@@ -58,10 +58,20 @@ _step_size_calculate(double min, double max)
58 return step; 58 return step;
59} 59}
60 60
61static void
62_change_range_print_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
63{
64 double from, to;
65
66 elm_slider_range_get(obj, &from, &to);
67
68 printf("range values:- from: %f, to: %f\n", from, to);
69}
70
61void 71void
62test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED) 72test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
63{ 73{
64 Evas_Object *win, *fr, *bx, *sl, *ic, *sl1, *bx2, *bx3, *bt; 74 Evas_Object *win, *fr, *bx, *sl, *ic, *sl1, *bx2, *bx3, *bx4, *bt;
65 double step; 75 double step;
66 char buf[PATH_MAX]; 76 char buf[PATH_MAX];
67 77
@@ -264,7 +274,6 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
264 elm_slider_span_size_set(sl, 60); 274 elm_slider_span_size_set(sl, 60);
265 evas_object_size_hint_align_set(sl, 0.5, EVAS_HINT_FILL); 275 evas_object_size_hint_align_set(sl, 0.5, EVAS_HINT_FILL);
266 evas_object_size_hint_weight_set(sl, 0.0, EVAS_HINT_EXPAND); 276 evas_object_size_hint_weight_set(sl, 0.0, EVAS_HINT_EXPAND);
267 elm_slider_indicator_show_set(sl, EINA_FALSE);
268 elm_slider_value_set(sl, 0.2); 277 elm_slider_value_set(sl, 0.2);
269 elm_object_scale_set(sl, 1.0); 278 elm_object_scale_set(sl, 1.0);
270 elm_slider_horizontal_set(sl, EINA_FALSE); 279 elm_slider_horizontal_set(sl, EINA_FALSE);
@@ -323,8 +332,8 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
323 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 332 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
324 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 333 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
325 elm_object_disabled_set(sl, EINA_TRUE); 334 elm_object_disabled_set(sl, EINA_TRUE);
326 elm_slider_range_enable_set(sl, EINA_TRUE); 335 elm_slider_range_enabled_set(sl, EINA_TRUE);
327 elm_slider_range_value_set(sl, 20, 100); 336 elm_slider_range_set(sl, 20, 100);
328 elm_box_pack_end(bx3, sl); 337 elm_box_pack_end(bx3, sl);
329 evas_object_show(sl); 338 evas_object_show(sl);
330 339
@@ -337,8 +346,8 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
337 elm_slider_indicator_format_set(sl, "%1.5f"); 346 elm_slider_indicator_format_set(sl, "%1.5f");
338 elm_slider_span_size_set(sl, 160); 347 elm_slider_span_size_set(sl, 160);
339 elm_slider_value_set(sl, 0.7); 348 elm_slider_value_set(sl, 0.7);
340 elm_slider_range_enable_set(sl, EINA_TRUE); 349 elm_slider_range_enabled_set(sl, EINA_TRUE);
341 elm_slider_range_value_set(sl, 0.4, 0.9); 350 elm_slider_range_set(sl, 0.4, 0.9);
342 elm_box_pack_end(bx3, sl); 351 elm_box_pack_end(bx3, sl);
343 evas_object_show(sl); 352 evas_object_show(sl);
344 353
@@ -352,7 +361,7 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
352 elm_slider_step_set(sl, step); 361 elm_slider_step_set(sl, step);
353 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 362 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
354 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 363 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
355 elm_slider_range_enable_set(sl, EINA_TRUE); 364 elm_slider_range_enabled_set(sl, EINA_TRUE);
356 elm_box_pack_end(bx3, sl); 365 elm_box_pack_end(bx3, sl);
357 evas_object_show(sl); 366 evas_object_show(sl);
358 367
@@ -367,7 +376,7 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
367 elm_slider_indicator_show_on_focus_set(sl, EINA_TRUE); 376 elm_slider_indicator_show_on_focus_set(sl, EINA_TRUE);
368 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 377 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
369 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 378 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
370 elm_slider_range_enable_set(sl, EINA_TRUE); 379 elm_slider_range_enabled_set(sl, EINA_TRUE);
371 elm_box_pack_end(bx3, sl); 380 elm_box_pack_end(bx3, sl);
372 evas_object_show(sl); 381 evas_object_show(sl);
373 382
@@ -385,11 +394,10 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
385 elm_slider_span_size_set(sl, 120); 394 elm_slider_span_size_set(sl, 120);
386 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5); 395 evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
387 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0); 396 evas_object_size_hint_weight_set(sl, EVAS_HINT_EXPAND, 0.0);
388 elm_slider_range_enable_set(sl, EINA_TRUE); 397 elm_slider_range_enabled_set(sl, EINA_TRUE);
389 elm_box_pack_end(bx3, sl); 398 elm_box_pack_end(bx3, sl);
390 evas_object_show(sl); 399 evas_object_show(sl);
391 400
392
393 ic = elm_icon_add(bx3); 401 ic = elm_icon_add(bx3);
394 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get()); 402 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
395 elm_image_file_set(ic, buf, NULL); 403 elm_image_file_set(ic, buf, NULL);
@@ -406,9 +414,7 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
406 elm_slider_inverted_set(sl, EINA_TRUE); 414 elm_slider_inverted_set(sl, EINA_TRUE);
407 evas_object_size_hint_align_set(sl, 0.5, 0.5); 415 evas_object_size_hint_align_set(sl, 0.5, 0.5);
408 evas_object_size_hint_weight_set(sl, 0.0, 0.0); 416 evas_object_size_hint_weight_set(sl, 0.0, 0.0);
409 //TODO: 417 elm_slider_range_enabled_set(sl, EINA_TRUE);
410 //evas_object_smart_callback_add(sl, "delay,changed", _delay_change_cb, NULL);
411 elm_slider_range_enable_set(sl, EINA_TRUE);
412 elm_box_pack_end(bx3, sl); 418 elm_box_pack_end(bx3, sl);
413 evas_object_show(sl); 419 evas_object_show(sl);
414 420
@@ -428,7 +434,7 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
428 elm_object_disabled_set(sl, EINA_TRUE); 434 elm_object_disabled_set(sl, EINA_TRUE);
429 evas_object_size_hint_align_set(sl, 0.5, 0.5); 435 evas_object_size_hint_align_set(sl, 0.5, 0.5);
430 evas_object_size_hint_weight_set(sl, 0.0, 0.0); 436 evas_object_size_hint_weight_set(sl, 0.0, 0.0);
431 elm_slider_range_enable_set(sl, EINA_TRUE); 437 elm_slider_range_enabled_set(sl, EINA_TRUE);
432 elm_slider_inverted_set(sl, EINA_TRUE); 438 elm_slider_inverted_set(sl, EINA_TRUE);
433 elm_box_pack_end(bx3, sl); 439 elm_box_pack_end(bx3, sl);
434 evas_object_show(sl); 440 evas_object_show(sl);
@@ -444,10 +450,79 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
444 elm_slider_min_max_set(sl, 50, 150); 450 elm_slider_min_max_set(sl, 50, 150);
445 elm_slider_value_set(sl, 80); 451 elm_slider_value_set(sl, 80);
446 elm_object_scale_set(sl, 2.0); 452 elm_object_scale_set(sl, 2.0);
447 elm_slider_range_enable_set(sl, EINA_TRUE); 453 elm_slider_range_enabled_set(sl, EINA_TRUE);
448 elm_slider_range_value_set(sl, 100, 145); 454 elm_slider_range_set(sl, 100, 145);
449 elm_box_pack_end(bx3, sl); 455 elm_box_pack_end(bx3, sl);
450 evas_object_show(sl); 456 evas_object_show(sl);
451 457
458 //Vertical
459 bx4 = elm_box_add(bx);
460 evas_object_size_hint_weight_set(bx4, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
461 evas_object_size_hint_align_set(bx4, 0.5, EVAS_HINT_FILL);
462 elm_box_horizontal_set(bx4, EINA_TRUE);
463 elm_box_pack_end(bx3, bx4);
464 evas_object_show(bx4);
465
466 sl = elm_slider_add(bx4);
467 elm_slider_range_enabled_set(sl, EINA_TRUE);
468 elm_slider_range_set(sl, 0.2, 0.9);
469 elm_slider_horizontal_set(sl, EINA_FALSE);
470 elm_object_text_set(sl, "Vertical");
471 elm_slider_unit_format_set(sl, "%1.1f units");
472 elm_slider_span_size_set(sl, 60);
473 evas_object_size_hint_align_set(sl, 0.5, EVAS_HINT_FILL);
474 evas_object_size_hint_weight_set(sl, 0.0, EVAS_HINT_EXPAND);
475 elm_slider_indicator_format_set(sl, "%1.1f");
476 elm_object_scale_set(sl, 1.0);
477 evas_object_smart_callback_add(sl, "changed", _change_range_print_cb, sl);
478 elm_box_pack_end(bx4, sl);
479 evas_object_show(sl);
480
481 ic = elm_icon_add(bx4);
482 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
483 elm_image_file_set(ic, buf, NULL);
484 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
485 evas_object_show(ic);
486
487 sl = elm_slider_add(bx4);
488 elm_slider_unit_format_set(sl, "%1.1f units");
489 elm_object_text_set(sl, "Vertical inverted");
490 elm_slider_inverted_set(sl, EINA_TRUE);
491 elm_slider_span_size_set(sl, 60);
492 evas_object_size_hint_align_set(sl, 0.5, EVAS_HINT_FILL);
493 evas_object_size_hint_weight_set(sl, 0.0, EVAS_HINT_EXPAND);
494 elm_slider_indicator_format_set(sl, "%1.1f");
495 elm_slider_value_set(sl, 0.2);
496 elm_object_scale_set(sl, 1.0);
497 elm_slider_horizontal_set(sl, EINA_FALSE);
498 elm_slider_range_enabled_set(sl, EINA_TRUE);
499 elm_box_pack_end(bx4, sl);
500 evas_object_show(sl);
501 elm_slider_min_max_set(sl, 50, 150);
502 elm_slider_range_set(sl, 100, 130);
503
504 ic = elm_icon_add(bx4);
505 snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get());
506 elm_image_file_set(ic, buf, NULL);
507 evas_object_size_hint_aspect_set(ic, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1);
508 evas_object_show(ic);
509
510 sl = elm_slider_add(bx4);
511 elm_object_part_content_set(sl, "icon", ic);
512 elm_object_text_set(sl, "Disabled vertical");
513 elm_slider_inverted_set(sl, EINA_TRUE);
514 elm_slider_unit_format_set(sl, "%1.1f units");
515 elm_slider_span_size_set(sl, 100);
516 evas_object_size_hint_align_set(sl, 0.5, EVAS_HINT_FILL);
517 evas_object_size_hint_weight_set(sl, 0.0, EVAS_HINT_EXPAND);
518 elm_slider_indicator_format_set(sl, "%1.1f");
519 elm_object_scale_set(sl, 1.0);
520 elm_slider_horizontal_set(sl, EINA_FALSE);
521 elm_object_disabled_set(sl, EINA_TRUE);
522 elm_slider_range_enabled_set(sl, EINA_TRUE);
523 elm_slider_range_set(sl, 0.2, 0.9);
524 elm_box_pack_end(bx4, sl);
525 evas_object_show(sl);
526
452 evas_object_show(win); 527 evas_object_show(win);
453} 528}
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index 3cabaff94..773630564 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -208,7 +208,16 @@ _units_set(Evas_Object *obj)
208 { 208 {
209 char buf[1024]; 209 char buf[1024];
210 210
211 snprintf(buf, sizeof(buf), sd->units, sd->val); 211 if (!sd->range_enable)
212 snprintf(buf, sizeof(buf), sd->units, sd->val);
213 else
214 {
215 double v1, v2;
216
217 elm_slider_range_get(obj, &v1, &v2);
218 snprintf(buf, sizeof(buf), sd->units, v2 - v1);
219 }
220
212 elm_layout_text_set(obj, "elm.units", buf); 221 elm_layout_text_set(obj, "elm.units", buf);
213 if (!sd->units_show) 222 if (!sd->units_show)
214 { 223 {
@@ -737,6 +746,11 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
737 (sd->spacer, 1, (double)sd->size * elm_widget_scale_get(obj) * 746 (sd->spacer, 1, (double)sd->size * elm_widget_scale_get(obj) *
738 elm_config_scale_get()); 747 elm_config_scale_get());
739 748
749 if (sd->range_enable)
750 elm_layout_signal_emit(obj, "elm,slider,range,enable", "elm");
751 else
752 elm_layout_signal_emit(obj, "elm,slider,range,disable", "elm");
753
740 if (sd->inverted) 754 if (sd->inverted)
741 { 755 {
742 elm_layout_signal_emit(obj, "elm,state,inverted,on", "elm"); 756 elm_layout_signal_emit(obj, "elm,state,inverted,on", "elm");
@@ -753,6 +767,7 @@ _elm_slider_elm_widget_theme_apply(Eo *obj, Elm_Slider_Data *sd)
753 if (sd->popup2) 767 if (sd->popup2)
754 edje_object_signal_emit(sd->popup2, "elm,state,val,show", "elm"); 768 edje_object_signal_emit(sd->popup2, "elm,state,val,show", "elm");
755 } 769 }
770
756 _min_max_set(obj); 771 _min_max_set(obj);
757 _units_set(obj); 772 _units_set(obj);
758 _indicator_set(obj); 773 _indicator_set(obj);
@@ -790,6 +805,7 @@ _spacer_down_cb(void *data,
790{ 805{
791 ELM_SLIDER_DATA_GET(data, sd); 806 ELM_SLIDER_DATA_GET(data, sd);
792 807
808 //TODO: implement for range too
793 if (sd->range_enable) return; 809 if (sd->range_enable) return;
794 810
795 Evas_Event_Mouse_Down *ev = event_info; 811 Evas_Event_Mouse_Down *ev = event_info;
@@ -833,6 +849,7 @@ _spacer_move_cb(void *data,
833{ 849{
834 ELM_SLIDER_DATA_GET(data, sd); 850 ELM_SLIDER_DATA_GET(data, sd);
835 851
852 //TODO: implement for range too
836 if (sd->range_enable) return; 853 if (sd->range_enable) return;
837 854
838 Evas_Coord x, y, w, h; 855 Evas_Coord x, y, w, h;
@@ -900,6 +917,7 @@ _spacer_up_cb(void *data,
900{ 917{
901 ELM_SLIDER_DATA_GET(data, sd); 918 ELM_SLIDER_DATA_GET(data, sd);
902 919
920 //TODO: implement for range too
903 if (sd->range_enable) return; 921 if (sd->range_enable) return;
904 if (!sd->spacer_down) return; 922 if (!sd->spacer_down) return;
905 if (sd->spacer_down) sd->spacer_down = EINA_FALSE; 923 if (sd->spacer_down) sd->spacer_down = EINA_FALSE;
@@ -1105,13 +1123,13 @@ _elm_slider_elm_layout_content_aliases_get(Eo *obj EINA_UNUSED, Elm_Slider_Data
1105} 1123}
1106 1124
1107EOLIAN static Eina_Bool 1125EOLIAN static Eina_Bool
1108_elm_slider_range_enable_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *pd) 1126_elm_slider_range_enabled_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *pd)
1109{ 1127{
1110 return pd->range_enable; 1128 return pd->range_enable;
1111} 1129}
1112 1130
1113EOLIAN static void 1131EOLIAN static void
1114_elm_slider_range_enable_set(Eo *obj, Elm_Slider_Data *sd, Eina_Bool enable) 1132_elm_slider_range_enabled_set(Eo *obj, Elm_Slider_Data *sd, Eina_Bool enable)
1115{ 1133{
1116 if (sd->range_enable == enable) return; 1134 if (sd->range_enable == enable) return;
1117 1135
@@ -1131,23 +1149,24 @@ _elm_slider_range_enable_set(Eo *obj, Elm_Slider_Data *sd, Eina_Bool enable)
1131} 1149}
1132 1150
1133EOLIAN static void 1151EOLIAN static void
1134_elm_slider_range_value_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *pd, double *from, double *to) 1152_elm_slider_range_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *pd, double *from, double *to)
1135{ 1153{
1136 if (from) *from = pd->range_from; 1154 if (from) *from = fmin(pd->range_from, pd->range_to);
1137 if (to) *to = pd->range_to; 1155 if (to) *to = fmax(pd->range_from, pd->range_to);
1138} 1156}
1139 1157
1140EOLIAN static Eina_Bool 1158EOLIAN static void
1141_elm_slider_range_value_set(Eo *obj, Elm_Slider_Data *pd, double from, double to) 1159_elm_slider_range_set(Eo *obj, Elm_Slider_Data *pd, double from, double to)
1142{ 1160{
1143 pd->range_from = from; 1161 pd->range_from = from;
1144 //TODO: remove val later 1162 //TODO: remove val later
1145 pd->val = from; 1163 pd->val = from;
1146 pd->range_to = to; 1164 pd->range_to = to;
1147 1165
1148 _visuals_refresh(obj); 1166 if (pd->range_from < pd->val_min) pd->range_from = pd->val_min;
1167 if (pd->range_to > pd->val_max) pd->range_to = pd->val_max;
1149 1168
1150 return EINA_TRUE; 1169 _visuals_refresh(obj);
1151} 1170}
1152 1171
1153EAPI Evas_Object * 1172EAPI Evas_Object *
@@ -1213,6 +1232,8 @@ _elm_slider_unit_format_set(Eo *obj, Elm_Slider_Data *sd, const char *units)
1213 edje_object_message_signal_process(wd->resize_obj); 1232 edje_object_message_signal_process(wd->resize_obj);
1214 if (sd->popup) 1233 if (sd->popup)
1215 edje_object_signal_emit(sd->popup, "elm,state,units,visible", "elm"); 1234 edje_object_signal_emit(sd->popup, "elm,state,units,visible", "elm");
1235 if (sd->popup2)
1236 edje_object_signal_emit(sd->popup2, "elm,state,units,visible", "elm");
1216 } 1237 }
1217 else 1238 else
1218 { 1239 {
@@ -1220,6 +1241,8 @@ _elm_slider_unit_format_set(Eo *obj, Elm_Slider_Data *sd, const char *units)
1220 edje_object_message_signal_process(wd->resize_obj); 1241 edje_object_message_signal_process(wd->resize_obj);
1221 if (sd->popup) 1242 if (sd->popup)
1222 edje_object_signal_emit(sd->popup, "elm,state,units,hidden", "elm"); 1243 edje_object_signal_emit(sd->popup, "elm,state,units,hidden", "elm");
1244 if (sd->popup2)
1245 edje_object_signal_emit(sd->popup2, "elm,state,units,hidden", "elm");
1223 } 1246 }
1224 evas_object_smart_changed(obj); 1247 evas_object_smart_changed(obj);
1225} 1248}
@@ -1294,13 +1317,7 @@ _elm_slider_value_set(Eo *obj, Elm_Slider_Data *sd, double val)
1294EOLIAN static double 1317EOLIAN static double
1295_elm_slider_value_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *sd) 1318_elm_slider_value_get(Eo *obj EINA_UNUSED, Elm_Slider_Data *sd)
1296{ 1319{
1297 double val; 1320 return sd->val;
1298
1299 if (!sd->range_enable)
1300 val = sd->val;
1301 else
1302 val = sd->range_to - sd->range_from;
1303 return val;
1304} 1321}
1305 1322
1306EOLIAN static void 1323EOLIAN static void
diff --git a/src/lib/elm_slider.eo b/src/lib/elm_slider.eo
index 305d64fbe..213fd44ee 100644
--- a/src/lib/elm_slider.eo
+++ b/src/lib/elm_slider.eo
@@ -263,7 +263,7 @@ class Elm.Slider (Elm.Layout, Elm.Interface_Atspi_Value,
263 free_func: slider_freefunc_type @nullable; [[The freeing function for the format string.]] 263 free_func: slider_freefunc_type @nullable; [[The freeing function for the format string.]]
264 } 264 }
265 } 265 }
266 @property range_enable { 266 @property range_enabled {
267 set { 267 set {
268 [[Enable range]] 268 [[Enable range]]
269 } 269 }
@@ -274,21 +274,16 @@ class Elm.Slider (Elm.Layout, Elm.Interface_Atspi_Value,
274 enable: Eina_Bool; 274 enable: Eina_Bool;
275 } 275 }
276 } 276 }
277 range_value_get { 277 @property range {
278 [[Get range between two indicator 278 set {
279 ]] 279 [[Set range between two indicators.]]
280 params {
281 @out from: double;
282 @out to: double;
283 } 280 }
284 } 281 get {
285 range_value_set { 282 [[Get range between two indicator.]]
286 [[Set range between two indicators from to to 283 }
287 ]] 284 values {
288 return: Eina_Bool; 285 from: double; [[]]
289 params { 286 to: double; [[]]
290 @in from: double;
291 @in to: double;
292 } 287 }
293 } 288 }
294 } 289 }