We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 577cb2c commit 409edaaCopy full SHA for 409edaa
tkinterTUT/tk11_msgbox.py
@@ -11,9 +11,9 @@
11
window.geometry('200x200')
12
13
def hit_me():
14
- #tk.messagebox.showinfo(title='Hi', message='hahahaha')
15
- #tk.messagebox.showwarning(title='Hi', message='nononono')
16
- #tk.messagebox.showerror(title='Hi', message='No!! never')
+ #tk.messagebox.showinfo(title='Hi', message='hahahaha') # return 'ok'
+ #tk.messagebox.showwarning(title='Hi', message='nononono') # return 'ok'
+ #tk.messagebox.showerror(title='Hi', message='No!! never') # return 'ok'
17
#print(tk.messagebox.askquestion(title='Hi', message='hahahaha')) # return 'yes' , 'no'
18
#print(tk.messagebox.askyesno(title='Hi', message='hahahaha')) # return True, False
19
print(tk.messagebox.asktrycancel(title='Hi', message='hahahaha')) # return True, False
0 commit comments