Use Scale : Scale « GUI Tk « Python






Use Scale

from Tkinter import *
import string


root = Tk()
root.title('Scale')

scale = Scale(root, 
              orient=VERTICAL, 
              length=284, 
              from_=0, 
              to=250,
              tickinterval=50)
              
scale.grid(row=0, column=0, sticky='NE')

scale.set(100)

root.mainloop()

           
       








Related examples in the same category

1.Scale Demo: random choiceScale Demo: random choice
2.Bound Scale action with a canvasBound Scale action with a canvas
3.Scale widgetScale widget
4.Scale Demo: get scale value and open different dialogsScale Demo: get scale value and open different dialogs
5.Scale: get Scale valueScale: get Scale value
6.Scale used to control the size of a circleScale used to control the size of a circle
7.Canvas paint: controlled by ScaleCanvas paint: controlled by Scale