Scale widget
from Tkinter import *
class AllTkinterWidgets:
def __init__(self, master):
frame = Frame(master, width=500, height=400, bd=1)
frame.pack()
iframe5 = Frame(frame, bd=2, relief=RAISED)
Scale(iframe5, from_=0.0, to=50.0, label='Scale widget',
orient=HORIZONTAL).pack(side=LEFT)
iframe5.pack(expand=1, fill=X, pady=10, padx=5)
root = Tk()
all = AllTkinterWidgets(root)
root.mainloop()
Related examples in the same category