Mega Code Archive

 
Categories / Python / GUI Tk
 

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()