summaryrefslogtreecommitdiff
path: root/examples/elementary/test_spinner.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/elementary/test_spinner.py')
-rw-r--r--examples/elementary/test_spinner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/elementary/test_spinner.py b/examples/elementary/test_spinner.py
index 6b9457a..727cc41 100644
--- a/examples/elementary/test_spinner.py
+++ b/examples/elementary/test_spinner.py
@@ -34,6 +34,8 @@ def spinner_clicked(obj):
34 sp = Spinner(win, label_format="Percentage %%%1.2f something", 34 sp = Spinner(win, label_format="Percentage %%%1.2f something",
35 step=5.0, min_max=(0.0, 100.0), size_hint_weight=EXPAND_BOTH, 35 step=5.0, min_max=(0.0, 100.0), size_hint_weight=EXPAND_BOTH,
36 size_hint_align=FILL_HORIZ) 36 size_hint_align=FILL_HORIZ)
37 sp.callback_min_reached_add(lambda o: print("Min reached"))
38 sp.callback_max_reached_add(lambda o: print("Max reached"))
37 bx.pack_end(sp) 39 bx.pack_end(sp)
38 sp.show() 40 sp.show()
39 41