Python tkinter toplevel widget | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 1
Diego should we use Toplevel(root) or only Toplevel() ?
29th Jun 2019, 11:08 PM
harshit
harshit - avatar