Commit 1217b52b authored by Thorfin89's avatar Thorfin89

Corrections mineures dans la désignation des boutons

parent 6fe78d84
...@@ -53,16 +53,16 @@ class Pupitre: ...@@ -53,16 +53,16 @@ class Pupitre:
style.configure("BW.TLabel", foreground="black", background="#D9D9D9") style.configure("BW.TLabel", foreground="black", background="#D9D9D9")
# affichage des boutons de commande : back, pause, play, stop, forward # affichage des boutons de commande : back, pause, play, stop, forward
btn_play = ttk.Button(menu, image=self.icon_back, text="Back", command=None, style="BW.TLabel") btn_back = ttk.Button(menu, image=self.icon_back, text="Back", command=None, style="BW.TLabel")
btn_play.place(width=30, height=30, x=x_menu + 45, y=y_menu + 0) btn_back.place(width=30, height=30, x=x_menu + 45, y=y_menu + 0)
btn_play = ttk.Button(menu, image=self.icon_pause, text="Pause", command=self.radio_pause, style="BW.TLabel") btn_play = ttk.Button(menu, image=self.icon_pause, text="Pause", command=self.radio_pause, style="BW.TLabel")
btn_play.place(width=30, height=30, x=x_menu + 90, y=y_menu + 0) btn_play.place(width=30, height=30, x=x_menu + 90, y=y_menu + 0)
btn_pause = ttk.Button(menu, image=self.icon_play, text="Play", command=self.radio_play, style="BW.TLabel") btn_pause = ttk.Button(menu, image=self.icon_play, text="Play", command=self.radio_play, style="BW.TLabel")
btn_pause.place(width=30, height=30, x=x_menu + 135, y=y_menu + 0) btn_pause.place(width=30, height=30, x=x_menu + 135, y=y_menu + 0)
btn_stop = ttk.Button(menu, image=self.icon_stop, text="Stop", command=self.radio_stop, style="BW.TLabel") btn_stop = ttk.Button(menu, image=self.icon_stop, text="Stop", command=self.radio_stop, style="BW.TLabel")
btn_stop.place(width=30, height=30, x=x_menu + 180, y=y_menu + 0) btn_stop.place(width=30, height=30, x=x_menu + 180, y=y_menu + 0)
btn_stop = ttk.Button(menu, image=self.icon_forward, text="Forward", command=None, style="BW.TLabel") btn_forward = ttk.Button(menu, image=self.icon_forward, text="Forward", command=None, style="BW.TLabel")
btn_stop.place(width=30, height=30, x=x_menu + 225, y=y_menu + 0) btn_forward.place(width=30, height=30, x=x_menu + 225, y=y_menu + 0)
# potentiomètre de volume # potentiomètre de volume
# - on charge la configuration du volume sauvegardée # - on charge la configuration du volume sauvegardée
...@@ -100,4 +100,3 @@ class Pupitre: ...@@ -100,4 +100,3 @@ class Pupitre:
def boucle(self): def boucle(self):
self.radios_display() self.radios_display()
self.root.mainloop() self.root.mainloop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment