diff --git a/Test_tk.py b/Test_tk.py index 2049e46..27deefe 100644 --- a/Test_tk.py +++ b/Test_tk.py @@ -7,22 +7,22 @@ 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") value2 = IntVar() -entree2 = Entry(fenetre, textvariable=value2, bg = "gray") +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, bg = "gray") +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") value4 = IntVar() -entree4 = Entry(fenetre, textvariable=value4, bg = "gray") +entree4 = Entry(fenetre, textvariable=value4) label1.grid(pady=10) entree1.grid()