- Tkinter GUI Application Development Cookbook
- Alejandro Rodas de Paz
- 77字
- 2021-08-27 19:44:09
There's more…
Apart from tk.TOP and tk.LEFT, you can pass the tk.BOTTOM and tk.RIGHT constants to the side option. They perform the opposite stacking, as their names suggest; however, it may be counterintuitive since the natural order we follow is from top to bottom and from left to right.
For instance, if we replace the tk.LEFT value with tk.RIGHT in our three last widgets, their order from left to right would be label_e, label_d, and label_c.
推薦閱讀
- DBA攻堅指南:左手Oracle,右手MySQL
- Beginning C++ Game Programming
- Instant Zepto.js
- Responsive Web Design with HTML5 and CSS3
- Learning ArcGIS Pro
- Mastering Python Networking
- Mastering Apache Maven 3
- SQL Server從入門到精通(第3版)
- Service Mesh實戰:基于Linkerd和Kubernetes的微服務實踐
- 基于SpringBoot實現:Java分布式中間件開發入門與實戰
- Learning Modular Java Programming
- 一步一步跟我學Scratch3.0案例
- 零基礎學C語言(第4版)
- Java 9:Building Robust Modular Applications
- Serverless工程實踐:從入門到進階