Basj
Basj

Reputation: 46371

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.)

Upvotes: 8

Views: 1294

Answers (1)

VZ.
VZ.

Reputation: 22678

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.

Upvotes: 4

Related Questions