wx.Slider questions

How can I implement a certain size and direction of the thumb in the slider?
I need a slider without ticks with a big, nice thumb facing the direction I choose to face.
I managed to control the direction the slider thumb is facing via wx.SL_LEFT/RIGHT... but... now the ticks appear and I don't want them as for the size of the thumb... when placed in a sizer... the thumb gets ridiculously small.... and as I said.. I need a big, easy to grab thumb.

attached is some code that illustrates the problem...
in my example I need a bigger thumb and one facing up not down.

My problem might be platform specific so...
my specs: WinXP SP1, python 2.3.4 and wxpython 2.5.2.9p.20040914

Thanks in advance :slight_smile:

gizmos.py (2.51 KB)

···

--
Peter Damoc
Hacker Wannabe
http://www.sigmacore.net/

Peter Damoc wrote:

How can I implement a certain size and direction of the thumb in the slider?

You can't. How the thumb is drawn is up to the native control, and wxWidgets doesn't expose anything to change it other than the existing style flags. You'll need to make your own custom slider control to do anything differently.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!