How can I set the default value of my tkinter Scale widget slider to 100?

aneuryzm picture aneuryzm · Oct 18, 2010 · Viewed 17.4k times · Source

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)

Answer

nmichaels picture nmichaels · Oct 18, 2010

cursor=100?

If that doesn't work, you can always manually self.slider.set(100).