Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Slider widget with wxPython

I would need to make a

slider = wx.Slider(self, 100, 25, 1, 100, (30, 60), (250, -1), wx.SL_HORIZONTAL)

enter image description here

have a transparent background (because it appears on a panel which has a non-uniform background).

More generally, how is it possible possible to change its look to something like this ?

enter image description here

(I am open to use .png files for the widget elements, if needed.)

like image 809
Basj Avatar asked Feb 09 '14 23:02

Basj


1 Answers

No, wxWidgets uses native look and feel and native controls under Windows look like your top screenshot, not the bottom one. If you want to have a custom look, you really need to use a custom control.

like image 118
VZ. Avatar answered Oct 21 '22 05:10

VZ.