Skip to content

Commit 409edaa

Browse files
authored
docs : Add Annotations
docs : Add Annotations After the code experiment, I add three annotations.
1 parent 577cb2c commit 409edaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tkinterTUT/tk11_msgbox.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
window.geometry('200x200')
1212

1313
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')
14+
#tk.messagebox.showinfo(title='Hi', message='hahahaha') # return 'ok'
15+
#tk.messagebox.showwarning(title='Hi', message='nononono') # return 'ok'
16+
#tk.messagebox.showerror(title='Hi', message='No!! never') # return 'ok'
1717
#print(tk.messagebox.askquestion(title='Hi', message='hahahaha')) # return 'yes' , 'no'
1818
#print(tk.messagebox.askyesno(title='Hi', message='hahahaha')) # return True, False
1919
print(tk.messagebox.asktrycancel(title='Hi', message='hahahaha')) # return True, False

0 commit comments

Comments
 (0)