|
|
@ -7,7 +7,7 @@ canvas1 = Canvas(fenetre) |
|
|
|
label1 = Label(fenetre, text="Choisissez le nombre de voisins (k) :",font = |
|
|
|
('calibri', 10, 'bold', 'underline'),bg ='#fd9f9f',foreground="#4c75e3") |
|
|
|
value1 = IntVar() |
|
|
|
entree1 = Entry(fenetre, textvariable=value1, bg = "gray") |
|
|
|
entree1 = Entry(fenetre, textvariable=value1) |
|
|
|
|
|
|
|
label2 = Label(fenetre, text="Veuillez entrez la date (format 'aaaa-mm-jj'):",font = |
|
|
|
('calibri', 10, 'bold', 'underline'),bg ='#fd9f9f',foreground="#4c75e3") |
|
|
@ -17,7 +17,7 @@ entree2 = Entry(fenetre, textvariable=value2) |
|
|
|
label3 = Label(fenetre, text="Veuillez entrez la température moyenne (en °C):",font = |
|
|
|
('calibri', 10, 'bold', 'underline'),bg ='#fd9f9f',foreground="#4c75e3") |
|
|
|
value3 = IntVar() |
|
|
|
entree3 = Entry(fenetre, textvariable=value3,) |
|
|
|
entree3 = Entry(fenetre, textvariable=value3) |
|
|
|
|
|
|
|
label4 = Label(fenetre, text="Veuillez entrez la température de référence (en °C) :",font = |
|
|
|
('calibri', 10, 'bold', 'underline'),bg ='#fd9f9f',foreground="#4c75e3") |
|
|
@ -38,7 +38,7 @@ entree4.grid() |
|
|
|
|
|
|
|
label9= Label(fenetre, text="Conso", bg="#7a817f") |
|
|
|
|
|
|
|
bouton1 = Button(canvas1, text="Tester",height=2,width=10 ,bg="#4e93de", font = |
|
|
|
bouton1 = Button(canvas1, text="Tester", command=fenetre.destroy,height=2,width=10 ,bg="#4e93de", font = |
|
|
|
('calibri', 12, 'bold', 'underline')).grid() |
|
|
|
|
|
|
|
canvas1.grid(pady = 15) |
|
|
|