1 from tkinter import * 2 root = Tk() 3 listbox = Listbox(root) 4 listbox.pack(fill=BOTH,expand=True) #fill选项是填充整个父组件,expand选项 ...
確定! 回上一頁