Skip to content

Commit

Permalink
docs : Add Annotations
Browse files Browse the repository at this point in the history
docs : Add Annotations

After the code experiment, I add three annotations.
  • Loading branch information
JNingWei committed Oct 19, 2017
1 parent 577cb2c commit 409edaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tkinterTUT/tk11_msgbox.py
Expand Up @@ -11,9 +11,9 @@
window.geometry('200x200')

def hit_me():
#tk.messagebox.showinfo(title='Hi', message='hahahaha')
#tk.messagebox.showwarning(title='Hi', message='nononono')
#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'
#print(tk.messagebox.askquestion(title='Hi', message='hahahaha')) # return 'yes' , 'no'
#print(tk.messagebox.askyesno(title='Hi', message='hahahaha')) # return True, False
print(tk.messagebox.asktrycancel(title='Hi', message='hahahaha')) # return True, False
Expand Down

0 comments on commit 409edaa

Please sign in to comment.