鼠标左键释放 <Motion>:鼠标移动 <B1-Motion>:按住鼠标左键移动 <Enter>:鼠标进入控件 <Leave>:鼠标离开控件 <MouseWheel>:鼠标滚轮滚动(在Windows上) <Button canvas.bind("<MouseWheel>", on_mousewheel) # 鼠标滚轮(Windows) # 对于Linux系统,使用不同的事件绑定鼠标滚轮 # canvas.bind("<Button