GUI slider control

J

James Stroud

Could someone tell me the easiest way to create a GUI slider control in
Python?

This is how we do it in the hood:


from Tkinter import *

def callback(value):
print value

tk = Tk()
s = Scale(tk, orient=HORIZONTAL, command=callback)
s.pack()

tk.mainloop()


I'm not sure about outside the hood.

James

--
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top