Omitting Toplevel's Parent Argument
I was checking out Toplevel of tkinter. From what I've seen from effbot I can omit its parent argument. 1- When I only use Toplevel itself (commenting out root), it creates its
Solution 1:
It's not that Toplevel
creates it's own parent, any widget will create a root window if you don't create one first. There simply must be a root window before any other widget can exist -- that's why it's called a root window. So, to answer your specific question, no, there is no way to create an instance of Toplevel
without creating a root window first.
Post a Comment for "Omitting Toplevel's Parent Argument"