elm.Toolbar: Note earlier changes to events and update example
See commit 61b53f2477
This commit is contained in:
parent
c03464e343
commit
59b2e1ee59
|
@ -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
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue