Robin Dunn wrote:
Stef Mientki wrote:
hello,
I'm trying to create a float / log slider,
by deriving from wx.Slider.You'll probably have better luck if you use a composite control. Simply derive a class from wx.Panel and put your slider and static texts on that panel in a sizer. You can then add methods that forward calls to the slider's methods if needed, or add others that are specific to the functionality of the composite. Then when you want to use one of these you just create an instance of the composite class and use it as if it was a single control.
thanks Robin,
that works like a charm
And now I've to do a lot of work, ...
... because I've created numerous components in this clumcy way of my
I wonder if there's a good tutorial or wiki about combining widgets,
because it seems a very powerful tool.
cheers,
Stef