Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from tkinter import *
- from cekWin import *
- class GUI3:
- def Read():
- ui = Tk()
- ui.title("Read")
- ui.geometry("400x400")
- frame1 = Frame(ui)
- frame1.pack()
- ui.protocol('WM_DELETE_WINDOW', lambda:GUI3.doSomething(ui))
- ui.mainloop()
- def doSomething(ui):
- global ui1
- global ui2
- global ui3
- ui3 = False
- ui.destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement