- Tkinter GUI Application Development Cookbook
- Alejandro Rodas de Paz
- 112字
- 2021-08-27 19:44:09
How it works…
The placement of label_a and label_b is almost self-explanatory: they occupy the first and second rows of the first column, respectively—remember that grid positions are zero-indexed:

To expand label_c and label_d through multiple cells, we will set the rowspan option to 2, so they will span two cells, starting from the position indicated with the row and column options. Finally, we will place label_e with the columnspan option to set it to 3.
It is important to remark that in contrast with the Pack geometry manager, it is possible to change the order of the calls to grid() on each widget without modifying the final layout.
推薦閱讀
- Java程序設計(慕課版)
- Bootstrap Site Blueprints Volume II
- 數據庫程序員面試筆試真題與解析
- Docker技術入門與實戰(第3版)
- Securing WebLogic Server 12c
- Reactive Programming With Java 9
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- ASP.NET程序設計教程
- Learning FuelPHP for Effective PHP Development
- 運用后端技術處理業務邏輯(藍橋杯軟件大賽培訓教材-Java方向)
- 區塊鏈技術與應用
- AIRIOT物聯網平臺開發框架應用與實戰
- Julia for Data Science
- GitHub入門與實踐
- Deep Learning for Natural Language Processing