python3 tkinter報錯:_tkinter.TclError: cannot use geometry manager pack inside . which already has slaves managed by grid

踏破凌霄城發表於2019-01-30

報錯:

_tkinter.TclError: cannot use geometry manager pack inside . which already has slaves managed by grid

原因:

一個程式中,只能使用一種佈局,否則會報上面的錯誤。

幾何方法 描述
pack() 包裝;
grid() 網格;
place() 位置;

相關文章