moved mute button below volume slider. (makes more sense there)
authorShane Pepperell <shane.pepperell@me.com>
Sat, 14 Jan 2023 02:28:48 +0000 (02:28 +0000)
committerShane Pepperell <shane.pepperell@me.com>
Sat, 14 Jan 2023 02:28:48 +0000 (02:28 +0000)
announcer.pyw

index 2aa000510df051e908a3f3ee7648f3c531be5103..bb240e116c13b1438bea55ea96bac2e9246438fa 100644 (file)
@@ -260,9 +260,9 @@ if __name__ == '__main__':
     volume_slider = Scale(gui, from_=0, to=100, orient=HORIZONTAL, command=update_volume)
     volume_slider.set(100)
     volume_slider.pack()
-    Button(gui, text='Test volume', command=play_random_sound).pack()
     mute_button = Button(gui, text='Mute', command=mute)
     mute_button.pack()
+    Button(gui, text='Test volume', command=play_random_sound).pack()
     announcer_thread = threading.Thread(target=announcer_loop)
     announcer_thread.start()
     mainloop()