—
def connectWin():
window = tk.Toplevel(root)
window.title('Enter an address')
window.geometry("260x70")
ok_button = tk.Button(window, text='OK', fg="black")
can i do:
ok_button = tk.Button(window, text='OK', fg="black",
command=window.destroy())
?
Message permanent page