button press to exit kivy application code example
Example: button press to exit kivy application
<ExitButton>:
font_size: 32
GridLayout:
ExitButton:
text: "Exit"
on_press: quit()
<ExitButton>:
font_size: 32
GridLayout:
ExitButton:
text: "Exit"
on_press: quit()