Mar-07-2018, 05:10 PM
Hi All,
Using Kivy I need to call a function by pressing a Button. At the moment this code work fine but only to end the program execution.
Thanks in advance for your kind support.
Regards,
Giovanni
Using Kivy I need to call a function by pressing a Button. At the moment this code work fine but only to end the program execution.
from kivy.uix.button import Button .... b=(Button(text='Exit')) Layout.add_widget(b) b.bind(on_press=exit)For example I would like to call a function for changing the text of a label.
Thanks in advance for your kind support.
Regards,
Giovanni