diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | examples/elementary/test_toolbar.py | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -20,6 +20,8 @@ Changes: | |||
20 | 20 | ||
21 | * elm.List.callback_highlighted_add: Added item param to func | 21 | * elm.List.callback_highlighted_add: Added item param to func |
22 | * elm.List.callback_unhighlighted_add: Added item param to func | 22 | * elm.List.callback_unhighlighted_add: Added item param to func |
23 | * elm.Toolbar.callback_clicked_add: Added item param to func | ||
24 | * elm.Toolbar.callback_longpressed_add: Added item param to func | ||
23 | * elm.Slideshow: item_data are now a single value, instead of args/kargs, | 25 | * elm.Slideshow: item_data are now a single value, instead of args/kargs, |
24 | like is implemented in Gengrid/Genlist | 26 | like is implemented in Gengrid/Genlist |
25 | 27 | ||
diff --git a/examples/elementary/test_toolbar.py b/examples/elementary/test_toolbar.py index 28568dd..932d8ad 100644 --- a/examples/elementary/test_toolbar.py +++ b/examples/elementary/test_toolbar.py | |||
@@ -46,9 +46,10 @@ def tb_4a(obj, it, ph): | |||
46 | def tb_5(obj, it, ph): | 46 | def tb_5(obj, it, ph): |
47 | ph.file = None | 47 | ph.file = None |
48 | 48 | ||
49 | def cb_clicked(tb): | 49 | def cb_clicked(tb, it): |
50 | print("CLICKED") | 50 | print("CLICKED") |
51 | print(tb) | 51 | print(tb) |
52 | print(it) | ||
52 | 53 | ||
53 | def cb_item_focused(tb, item): | 54 | def cb_item_focused(tb, item): |
54 | print("ITEM FOCUSED") | 55 | print("ITEM FOCUSED") |