tkinter toplevel

Solutions on MaxInterview for tkinter toplevel by the best coders in the world

showing results for - "tkinter toplevel"
Laura
17 Mar 2018
1from tkinter import *
2
3root = Tk()
4l1 = Label(root, text="Main Window Label")
5l1.pack()
6
7top = Toplevel()
8l2 = Label(top, text="Toplevel Window Label")
9l2.pack()
10top.mainloop()
11root.mainloop()