Update ARE-DYNAMIC.py

This commit is contained in:
ConstancePoulain 2017-04-11 09:44:27 +02:00 committed by GitHub
parent 9ba0b2019a
commit 2bba1d7c64
1 changed files with 7 additions and 6 deletions

View File

@ -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)