|
|
|
@ -167,17 +167,17 @@ canvaRecup = tk.Canvas(fenetre, bg='snow', width = 1, height = 10, highlightthic |
|
|
|
canvaRecup.grid(row = 9, columnspan = 2) |
|
|
|
|
|
|
|
labeldistance = tk.Label(fenetre, text = "choisir le mode de distance voulu :", bg = "snow") |
|
|
|
labeldistance.grid(row = 9) |
|
|
|
labeldistance.grid(row = 10) |
|
|
|
|
|
|
|
boutonRecup = tk.Button(fenetre, command = lancerTest, bg = 'snow',text='Valider', |
|
|
|
cursor='hand2') |
|
|
|
boutonRecup.grid(row = 10,column = 1) |
|
|
|
boutonRecup.grid(row = 11,column = 1) |
|
|
|
|
|
|
|
boutonDistance = tk.Button(fenetre, command = changeDistance, text="Distance de Manhattan" |
|
|
|
,bg='snow',cursor='hand2') |
|
|
|
boutonDistance.grid(row=10, column=0) |
|
|
|
boutonDistance.grid(row=11, column=0) |
|
|
|
|
|
|
|
affichageResultats = tk.Label(fenetre, bg='snow', text='',font='TkDefaultFont 8 bold') #J'ai du chercher parce qu'on ne peut |
|
|
|
affichageResultats.grid(row=11) |
|
|
|
affichageResultats.grid(row=12) |
|
|
|
|
|
|
|
fenetre.mainloop() |