Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tkinter toplevel

from tkinter import *

root = Tk()
l1 = Label(root, text="Main Window Label")
l1.pack()

top = Toplevel()
l2 = Label(top, text="Toplevel Window Label")
l2.pack()
top.mainloop()
root.mainloop()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #tkinter #toplevel
ADD COMMENT
Topic
Name
2+5 =