|
|
@ -84,7 +84,7 @@ fenetre.title("pour l'instant je sais pas quoi (FEUR) mettre") #Un truc comme ge |
|
|
canva = tk.Canvas(fenetre, bg = "lavender", highlightthickness = 0, width = 10, |
|
|
canva = tk.Canvas(fenetre, bg = "lavender", highlightthickness = 0, width = 10, |
|
|
height = 13.5) |
|
|
height = 13.5) |
|
|
canva.grid() |
|
|
canva.grid() |
|
|
|
|
|
# Boutons valeur de k |
|
|
valeurk = tk.StringVar() |
|
|
valeurk = tk.StringVar() |
|
|
labelk = tk.Label(fenetre, text = "choisir le nombre de k plus proches voisin voulus : ", |
|
|
labelk = tk.Label(fenetre, text = "choisir le nombre de k plus proches voisin voulus : ", |
|
|
width = 50, bg = "lavender") |
|
|
width = 50, bg = "lavender") |
|
|
@ -95,6 +95,7 @@ boutonk = tk.Button(fenetre, cursor = "hand2", bg = "lavender", text = "valider" |
|
|
command = recupk) |
|
|
command = recupk) |
|
|
boutonk.grid(row = 2, column = 1) |
|
|
boutonk.grid(row = 2, column = 1) |
|
|
|
|
|
|
|
|
|
|
|
# Boutons date |
|
|
canvadate = tk.Canvas(fenetre, bg = "lavender", width = 350, height = 20, |
|
|
canvadate = tk.Canvas(fenetre, bg = "lavender", width = 350, height = 20, |
|
|
highlightthickness = 0) |
|
|
highlightthickness = 0) |
|
|
canvadate.create_line(0, 10, 350, 10, fill = "black") |
|
|
canvadate.create_line(0, 10, 350, 10, fill = "black") |
|
|
@ -108,6 +109,7 @@ boutondate = tk.Button(fenetre, cursor = "hand2", bg = "lavender", text = "valid |
|
|
command = recupdate) |
|
|
command = recupdate) |
|
|
boutondate.grid(row = 5, column = 1) |
|
|
boutondate.grid(row = 5, column = 1) |
|
|
|
|
|
|
|
|
|
|
|
# Boutons température |
|
|
canvatemp = tk.Canvas(fenetre, bg = "lavender", width = 350, height = 20, |
|
|
canvatemp = tk.Canvas(fenetre, bg = "lavender", width = 350, height = 20, |
|
|
highlightthickness = 0) |
|
|
highlightthickness = 0) |
|
|
canvatemp.create_line(0, 10, 350, 10, fill = "black") |
|
|
canvatemp.create_line(0, 10, 350, 10, fill = "black") |
|
|
|