Skip to content

Commit 619f47f

Browse files
authored
Update reloj.py
1 parent bf1b108 commit 619f47f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Reloj transparente/reloj.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66

77
ventana = Tk()
88
ventana.config(bg='gray')
9-
ventana.wm_attributes(
10-
'-transparentcolor', 'gray')
11-
ventana.overrideredirect(1) # Eliminar el borde de la ventana
9+
ventana.wm_attributes('-transparentcolor', 'gray')
10+
# ventana.wm_attributes("-alpha", 0.5) Para linux
11+
# ventana.wait_visibility(ventana) Para linux
12+
ventana.overrideredirect(1) # Eliminar barra de titulo
1213

1314
def salir(*args):
1415
ventana.destroy()

0 commit comments

Comments
 (0)