nachus
1
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.
drwr
2
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