How can I set the default value of my tkinter Scale widget slider to 100?
-
09-10-2019 - |
Question
How can I set the default value of my slider to 100 ?
self.slider = tk.Scale(self.leftFrame, from_=0, to=256, orient=tk.HORIZONTAL, command=updateValue)
Solution
cursor=100
?
If that doesn't work, you can always manually self.slider.set(100)
.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow