f = Frame(root, width=1000, bg="blue") f.pack(fill=X, expand=True) l ... etc. tkinter's geometry managers ( pack , place and grid ) are remarkably powerful.
確定! 回上一頁