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

Introduction

Widgets determine the actions that users can perform with our GUI application; however, we should pay attention to their placement and the relationships we establish with that arrangement. Effective layouts help users to identify the meaning and priority of each graphical element so that they can quickly understand how to interact with our program.

Layout also determines the visual appearance that users expect to find consistently across the whole application, such as always placing confirmation buttons at the bottom-right corner of the screen. Although this information might be obvious to us as developers, end users may feel overwhelmed if we do not guide them through the application by following a natural order.

This chapter will dive into the different mechanisms that Tkinter offers to lay out and group widgets and control other attributes, such as their size or spacing.

主站蜘蛛池模板: 蒙山县| 综艺| 增城市| 吉水县| 贵阳市| 麻栗坡县| 无极县| 儋州市| 临澧县| 鄢陵县| 庆安县| 清河县| 武强县| 永德县| 崇阳县| 新干县| 安泽县| 维西| 延安市| 宝丰县| 稷山县| 华蓥市| 巫溪县| 胶州市| 朝阳区| 汕头市| 清涧县| 海城市| 普兰县| 绩溪县| 仪陇县| 鄂伦春自治旗| 宁安市| 偃师市| 隆德县| 德惠市| 淮南市| 诸暨市| 开鲁县| 容城县| 西青区|