简体   繁体   English

Tkinter 滚动(框架上的滚动条)

[英]Tkinter scrolling (scrollbar on frames)

I am still new to this and I need some help in inserting a scrollbar to scroll the circled area just in case the list gets long in future.我对此还是个新手,我需要一些帮助来插入滚动条以滚动圆圈区域,以防将来列表变长。 Thanks in advance.提前致谢。 The image is included here.该图像包含在此处。 (the circled area is actually an individual frame so is there any method to add scrollbar to that? (圆圈区域实际上是一个单独的框架,所以有什么方法可以添加滚动条吗?

通常的方法是创建一个带有滚动条画布,然后使用create_window将包含复选框小部件的框架放置在画布上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM