Python tkinter toplevel widget | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Python tkinter toplevel widget

Why we use Toplevel() widget when we can use two widget of Tk(). Also, by the definition of Toplevel "This widget is directly controlled by the window manager. it don't need any parent window to work on " but when I close Tk() widget then Toplevel widget will get automatically closed.

28th Jun 2019, 3:25 AM
harshit
harshit - avatar
2 Answers
+ 1
Diego should we use Toplevel(root) or only Toplevel() ?
29th Jun 2019, 11:08 PM
harshit
harshit - avatar