how to handle response from tkinter messagebox askquestion 28 29 function in python

Solutions on MaxInterview for how to handle response from tkinter messagebox askquestion 28 29 function in python by the best coders in the world

showing results for - "how to handle response from tkinter messagebox askquestion 28 29 function in python"
Sophie
12 Aug 2018
1def new_game_confirm(self):
2        result = messagebox.askquestion("Start a new game", "Are you sure you want to start a new game ? Your current campaign will be overriden and there is no going back !", icon='warning')
3        if result == 'yes':
4            self.proceed_to_new_game_menu()
5        else:
6            pass