Mar-20-2017, 10:35 PM
Quote:If the window has a parent, then it isn't the toplevel window
This is true logically, but tkinter has a Toplevel window which can have a parent
Toplevel(master=None, **options) (class) [#]
example
>>> zz = tk.Tk() >>> f1 = tk.Frame(zz) >>> t1 = tk.Toplevel(f1) >>> zz.mainloop()So here, the frame f1 is the parent of Toplevel t1