b1.pack(fill = BOTH, expand = True) b2 = Button(pane, text = "Click me too") b2.pack(fill = BOTH, expand = True) mainloop(). 輸出:. 代碼2:將小部件彼此並排 ...
確定! 回上一頁