Tkinter Toplevel
Toplevel极简例子
from tkinter import *
root = Tk()
tl = Toplevel()
Label(tl, text='hello label').pack()
root.mainloop()
设置Toplevel的属性
from tkinter import *
root = Tk()
tl = Toplevel()
tl.title('hello Toplevel')
tl.geometry('400x300')
Label(tl, text='hello label').pack()
root.mainloop()