tkinter绑定鼠标滚轮滚动事件 canvas.bind("<MouseWheel>", processWheel) 失效

时间:2017-10-24 20:42:37   收藏:0   阅读:1964

其实,不同系统不一样,我的是Ubuntu 所以是<Button-4>   <Button-5>

 

见下:

来自:https://stackoverflow.com/questions/17355902/python-tkinter-binding-mousewheel-to-scrollbar

 

Platform differences:

 

 

原文:http://www.cnblogs.com/YouXiangLiThon/p/7725308.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!