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