When you click in the trough (either side of the slider) in a python tkinter scale, the slider moves one increment to the left/right.
If you hold the mouse, it will move more quickly, using repeatdelay & repeatinterval.
What I would like, is to have the slider move in bigger increments when you single click in the trough, without losing the ability to use the slider to increment by smaller steps.
I have researched the scale widget, and can see it has a bigincrement field, which is meant to support this, but I'm not sure when bigincrement is used?
I've also looked at resolution
, which does change the amount the slider jumps, but it loses the ability to fine tune it by dragging the slider.
So, how can I configure the scale to use bigincrement as the value to increment the scale, each time the trough is clicked. And still be able to drag the slider to get finer grained increments?
Example code:
from Tkinter import *
master = Tk()
w = Scale(master, from_=0, to=100, bigincrement=10)
w.pack()
w = Scale(master, from_=0, to=200, orient=HORIZONTAL, bigincrement=100)
w.pack()
mainloop()