Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试以编程方式将垂直滚动条设置到画布的底部。(在将多行小部件添加到 GUI 后会出现垂直滚动条,并且 vscrollbar 按需要工作。)有什么建议吗?
可以使用yview_movetoy 方向调整视图的方法:
yview_moveto
self.canvas.yview_moveto(1.0)