aboutsummaryrefslogtreecommitdiffstats
path: root/examples/elementary/test_slider.py
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2013-11-28 23:36:15 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2013-11-29 02:22:36 +0200
commitc0ef792ca8c1b3df57d1af3cf5eac71022a4f571 (patch)
tree96ffa35fd3774fc026bbddf84e6b7defc903d225 /examples/elementary/test_slider.py
parentEcore: Fix string handling in Exe.send (diff)
downloadpython-efl-c0ef792ca8c1b3df57d1af3cf5eac71022a4f571.tar.gz
Elementary.slider: Add property step
Diffstat (limited to 'examples/elementary/test_slider.py')
-rw-r--r--examples/elementary/test_slider.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/elementary/test_slider.py b/examples/elementary/test_slider.py
index 0f969c6..ce715cd 100644
--- a/examples/elementary/test_slider.py
+++ b/examples/elementary/test_slider.py
@@ -80,9 +80,9 @@ def slider_clicked(obj):
bx.pack_end(sl)
sl.show()
- #TODO: step = step_size_calculate(0, 9)
+ step = step_size_calculate(0, 9)
sl = Slider(bx, unit_format="%1.0f units", indicator_format="%1.0f",
- span_size=120, min_max=(0, 9), text="Manual step (TODO)", #TODO: step=step,
+ span_size=120, min_max=(0, 9), text="Manual step", step=step,
size_hint_align=FILL_HORIZ, size_hint_weight=EXPAND_HORIZ)
bx.pack_end(sl)
sl.show()