문제

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)
도움이 되었습니까?

해결책

cursor=100?

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top