elm.Toolbar: Note earlier changes to events and update example

See commit 61b53f2477
This commit is contained in:
Kai Huuhko 2015-05-04 05:53:20 +03:00
parent c03464e343
commit 59b2e1ee59
2 changed files with 4 additions and 1 deletions

View File

@ -20,6 +20,8 @@ Changes:
* elm.List.callback_highlighted_add: Added item param to func
* elm.List.callback_unhighlighted_add: Added item param to func
* elm.Toolbar.callback_clicked_add: Added item param to func
* elm.Toolbar.callback_longpressed_add: Added item param to func
* elm.Slideshow: item_data are now a single value, instead of args/kargs,
like is implemented in Gengrid/Genlist

View File

@ -46,9 +46,10 @@ def tb_4a(obj, it, ph):
def tb_5(obj, it, ph):
ph.file = None
def cb_clicked(tb):
def cb_clicked(tb, it):
print("CLICKED")
print(tb)
print(it)
def cb_item_focused(tb, item):
print("ITEM FOCUSED")