Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.cancel_button = tk.Button(self, text="cancel", command=self.cancel)
- self.cancel_button.grid(row=0)
- def cancel(self):
- self.break_main = 1
- self.break_main = 0
- while self.break_main == 0:
- #do stuff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement