鼠标拖动和绑定鼠标滚轮移动: import threading from tkinter import * root = Tk() v = StringVar() s1 = Scale(root,from_ = ,to = ) s1.pack() s2 = Scale(root, from_ = ,#设置最小值 to = ,#设置最大值 orient = HORIZONTAL,#设置横向 # resolution=,#设置步长 # tickinterval = ,#设置刻度 length = ,…