Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WebRadioPi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thorfin89
WebRadioPi
Commits
1217b52b
Commit
1217b52b
authored
Jan 14, 2023
by
Thorfin89
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrections mineures dans la désignation des boutons
parent
6fe78d84
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
rw_pupitre.py
rw_pupitre.py
+4
-5
No files found.
rw_pupitre.py
View file @
1217b52b
...
@@ -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
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment