I have run the slider demo that come with wxPython docs. It is rather stupid, as it puts slider on a panel using many unexplained numbers, never tells how to get position of slider or what to do next if the slider is moved. I am much lost, does anyone have a actual usefull example?
bumsfeld
413
Nearly a Posting Virtuoso
Recommended Answers
Jump to PostI looked around in my toolbox and found some odds and ends. I combined what I found and wrote a little code snippet on the wx.Slider(), hope it helps.
http://www.daniweb.com/code/snippet403.html
Jump to Postwhen I run the code, I get this error
shane@mainbox ~ $ python test.py Traceback (most recent call last): File "test.py", line 58, in ? MyPanel(frame,-1) File "test.py", line 41, in __init__ self.Bind(wx.EVT_SLIDER, self.sliderUpdate) AttributeError: MyPanel instance has no attribute 'Bind'
My linux system has two different …
Jump to PostBind was introduced with version 2.5 of wxPython.
Jump to Postis version 2.4 of wxPython still needed for many apps to run. Do you guys run both versions?
All 13 Replies
bumsfeld
413
Nearly a Posting Virtuoso
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
bumsfeld
413
Nearly a Posting Virtuoso
shanenin
0
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
shanenin
0
Posting Whiz in Training
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
bumsfeld
413
Nearly a Posting Virtuoso
PKort
0
Newbie Poster
bumsfeld
413
Nearly a Posting Virtuoso
PKort
0
Newbie Poster
bumsfeld
413
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.