Update ARE-DYNAMIC.py
This commit is contained in:
parent
9ba0b2019a
commit
2bba1d7c64
|
@ -527,7 +527,7 @@ def affichage_combobox():
|
||||||
"""
|
"""
|
||||||
global Strat
|
global Strat
|
||||||
Label(fenetre, text="Stratégie n°").grid(row=5, column=0, sticky=E)
|
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():
|
def Interface():
|
||||||
"""
|
"""
|
||||||
|
@ -552,11 +552,12 @@ def Interface():
|
||||||
Label(fenetre, text="Choisir le type de la matrice initiale:").grid(row=4, columnspan = 2)
|
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 0", 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 1", 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 2", 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 3", 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 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)
|
Label(fenetre, text="Saisir le nombre d'itérations:").grid(row = 15, columnspan=1)
|
||||||
Entry(fenetre, textvariable=It, width=3).grid(row = 16)
|
Entry(fenetre, textvariable=It, width=3).grid(row = 16)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue