Esempio n. 1
0
 def game_over(self):
     tk._exit()
Esempio n. 2
0
 def fold(self):
     messagebox.showinfo("FOLD PRESSED", "Game OVER. Good bye !!!")
     tk._exit()
Esempio n. 3
0
File: main.py Progetto: chgiol/AnTel
def exit():
    tk._exit(0)
Esempio n. 4
0
def okClicked():
    _exit()
Esempio n. 5
0
def on_closing(event=None):
    """This function is to be called when the window is closed."""
    my_msg.set("{quit}")
    send()
    tkinter._exit()
Esempio n. 6
0
"""
	this is the file you should run to start the app.
"""
from classes.race import Race
import tkinter as tk

if (__name__ == "__main__"):
    race = Race()
    race.prepareRaceField()
    race.prepareCompetitors({
        "Ada": "red",
        "Bob": "green",
        "Ivy": "blue",
        "Jim": "orange"
    })
    race.startRace()
    tk.mainloop()
    # exit immidiately, once top window is closed:
    tk._exit()
Esempio n. 7
0
def Close():

    tk._exit()
Esempio n. 8
0
def salir():
    tk._exit()