DirectSlider sounds

Hi,

Does anybody knows how to remove or change the default sounds of DirectSlider? (rollover and clicking)

With DirectButton i do this:

DirectButton(rolloverSound = None, clickSound = None) 

But rolloverSound and clickSound apparently are not available on the slider.

Thanks.

Use thumb_rolloverSound and thumb_clickSound.

David

self.your_slider.thumb["clickSound"] = None
self.your_slider.thumb["rolloverSound"] = None

the whole code for that can be found at the end of direct/src/gui/DirectButton.py

Great! thanks.