Beispiel #1
0
def quitbutton():
    Button((719, 449), font = font14, height = 30, width = 80, shape = RECTANGLE,
           fgcolor = RED, text = 'Quit', callback = lambda _ : Screen.shutdown())
Beispiel #2
0
 def quit(button):
     Screen.shutdown()
Beispiel #3
0
 def quit(self, button):
     Screen.shutdown()