Label ( root , text = ' hi ' , bg = ' yellow ' ) . pack ( fill = tk. ... BOTH 的意思是元件的寬度與高度均拉到跟視窗大小一致。 root.mainloop()執行看看。
確定! 回上一頁