Exemple #1
0
    def set_sound(self, value):
        if value:
            self.sound_toggle.text = _("YES")
        else:
            self.sound_toggle.text = _("NO")

        mixer.set_sound(value)
Exemple #2
0
 def set_sound(self, value):
     mixer.set_sound(value)