diff --git a/ARE-DYNAMIC.py b/ARE-DYNAMIC.py index e90a138..bbb1ce1 100644 --- a/ARE-DYNAMIC.py +++ b/ARE-DYNAMIC.py @@ -527,7 +527,7 @@ def affichage_combobox(): """ global Strat Label(fenetre, text="Stratégie n°").grid(row=5, column=0, sticky=E) - Combobox(fenetre, textvariable=Strat, values=(0, 1, 2, 3, 4), width=3).grid(row=5, column=1, sticky=W) + Combobox(fenetre, textvariable=Strat, values=(0, 1, 2, 3, 4, 5), width=3).grid(row=5, column=1, sticky=W) def Interface(): """ @@ -552,11 +552,12 @@ def Interface(): Label(fenetre, text="Choisir le type de la matrice initiale:").grid(row=4, columnspan = 2) - Radiobutton(fenetre, text="Type 1", variable=Var_choix, value=0, command=affichage_combobox).grid(row=5, sticky=W) - Radiobutton(fenetre, text="Type 2", variable=Var_choix, value=1, command=affichage_combobox).grid(row=6, sticky=W) - Radiobutton(fenetre, text="Type 3", variable=Var_choix, value=2, command=affichage_combobox).grid(row=7, sticky=W) - Radiobutton(fenetre, text="Type 4", variable=Var_choix, value=3).grid(row=8, sticky=W) - Radiobutton(fenetre, text="Type 5", variable=Var_choix, value=4, command=saisir_les_pourcentages).grid(row=9, sticky=W) + Radiobutton(fenetre, text="Type 0", variable=Var_choix, value=0, command=affichage_combobox).grid(row=5, sticky=W) + Radiobutton(fenetre, text="Type 1", variable=Var_choix, value=1, command=affichage_combobox).grid(row=6, sticky=W) + Radiobutton(fenetre, text="Type 2", variable=Var_choix, value=2, command=affichage_combobox).grid(row=7, sticky=W) + Radiobutton(fenetre, text="Type 3", variable=Var_choix, value=3).grid(row=8, sticky=W) + Radiobutton(fenetre, text="Type 4", variable=Var_choix, value=4, command=saisir_les_pourcentages).grid(row=9, sticky=W) + Label(fenetre, text="Saisir le nombre d'itérations:").grid(row = 15, columnspan=1) Entry(fenetre, textvariable=It, width=3).grid(row = 16)