Python Tkinter
Résolu/Fermé
A voir également:
- Python Tkinter
- Citizen code python avis - Accueil - Outils
- Python generator - Télécharger - Sécurité
- Trouver la position d'un élément dans une liste python ✓ - Forum Python
- Python retour à la ligne dans le code - Forum Python
1 réponse
Bonjour,
J'ai posé mon problème sur d'autre site ou j'ai eu la solution.
Je la pose pour ceux qui veulent connaitre la solution !
====================
from Tkinter import *
def toto():
entry.state(NORMAL)
root = Tk()
entry = Entry(root, state=DISABLED)
entry.place(x=10, y=10)
button = Button(root, text="Ajouter", command=toto).place(x=10, y=40)
root.config(height=100,width=150)
root.mainloop()
====================
Merci tout de même !
J'ai posé mon problème sur d'autre site ou j'ai eu la solution.
Je la pose pour ceux qui veulent connaitre la solution !
====================
from Tkinter import *
def toto():
entry.state(NORMAL)
root = Tk()
entry = Entry(root, state=DISABLED)
entry.place(x=10, y=10)
button = Button(root, text="Ajouter", command=toto).place(x=10, y=40)
root.config(height=100,width=150)
root.mainloop()
====================
Merci tout de même !