Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. self.cancel_button = tk.Button(self, text="cancel", command=self.cancel)
  2. self.cancel_button.grid(row=0)
  3.  
  4. def cancel(self):
  5. self.break_main = 1
  6.  
  7. self.break_main = 0
  8. while self.break_main == 0:
  9. #do stuff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement