官术网_书友最值得收藏!

Using the Pack geometry manager

In previous recipes, we have seen that creating a widget does not automatically display it on the screen. We have called the pack() method on each widget to do so, which means that we used the Pack geometry manager.

This is one of the three available geometry managers in Tkinter, and it is well suited for simple layouts, such as when you want to place all the widgets on top of each other or side by side.

主站蜘蛛池模板: 克拉玛依市| 乌鲁木齐县| 池州市| 旌德县| 广德县| 城步| 西贡区| 永善县| 蓝田县| 兴仁县| 郴州市| 神农架林区| 洪湖市| 永丰县| 长丰县| 叶城县| 稻城县| 沁阳市| 酉阳| 怀集县| 鄂托克旗| 岳池县| 宜兴市| 綦江县| 敦化市| 施秉县| 嘉黎县| 扎赉特旗| 临桂县| 克拉玛依市| 陆河县| 天水市| 长丰县| 含山县| 隆昌县| 阿克| 北宁市| 怀集县| 吉首市| 长岛县| 义马市|