I have this code and it works, but I'm sure it's not the way to go properly. In my .kv a button fires two functions in my main.py.
Button: text: "Press Me" on_release: root.on_our_btn_release(text_input.text) on_release: root.get_items(text_input.text) Next step in my awesome project will be adding a lot more functions that will have to go off when the same button is clicked. This will result in a rather long list like:
Button: text: "Press Me" on_release: root.on_our_btn_release(text_input.text) on_release: root.get_items(text_input.text) on_release: root.another_function(text_input.text) on_release: root.andanotherone(text_input.text) on_release: root.herewegoagain(text_input.text) on_release: root.this_is_getting_boring(text_input.text) on_release: root.think_you_got_the_picture(text_input.text) This looks to me as very ugly code, but I didn't find a pretty way to do this yet.
Anyone? Thanks in advance!
;-) Erik