Custom slider widget with wxPython

I will need to do

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 with a heterogeneous background).

In general, how can you change your view to something like this?

enter image description here

(I am open to using .png files for widget elements, if necessary.)

+8
python slider custom-controls wxpython wxwidgets
source share
2 answers

No, wxWidgets uses its own look, and the built-in Windows controls look like your top screenshot, not the bottom. If you want to have your own look, you really need to use a custom control.

+4
source share

Could you create your own widget?

0
source share

All Articles