Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
Python
GUI slider control
GUI slider control
Collapse
This topic is closed.
X
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
mike7411@gmail.com
#1
GUI slider control
Apr 28 '06, 09:55 PM
Could someone tell me the easiest way to create a GUI slider control in
Python?
James Stroud
#2
Apr 29 '06, 02:55 AM
Re: GUI slider control
mike7411@gmail. com
wrote:[color=blue]
> Could someone tell me the easiest way to create a GUI slider control in
> Python?
>[/color]
This is how we do it in the hood:
from Tkinter import *
def callback(value) :
print value
tk = Tk()
s = Scale(tk, orient=HORIZONT AL, command=callbac k)
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/
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment