Scale widget : Scale : GUI Tk PYTHON examples


PYTHON examples » GUI Tk » Scale »

 

Scale widget


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



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo GUI Tk
» Scale