Python 官方文档:入门教程 => 点击学习
This geometry manager organizes widgets in blocks before placing them in the parent widget. Syntax: widget.pa
This geometry manager organizes widgets in blocks before placing them in the parent widget.
|
Here is the list of possible options:
expand: When set to true, widget expands to fill any space not otherwise used in widget's parent.
fill: Determines whether widget fills any extra space allocated to it by the packer, or keeps its own minimal dimensions: NONE (default), X (fill only horizontally), Y (fill only vertically), or BOTH (fill both horizontally and vertically).
side: Determines which side of the parent widget packs against: TOP (default), BOTTOM, LEFT, or RIGHT.
Try following example by moving cursor on different buttons:
|
--结束END--
本文标题: Python - Tkinter pac
本文链接: https://lsjlt.com/news/184518.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
2024-03-01
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0