Solution Exercice 8 Python Tkinter
Télécharger la série de TP: https://drive.google.com/file/d/1J5BL8-BxR7A9__lz2vm3CPtMc9Z1uMQY/view
Lien vers le code: https://www.tresfacile.net/solution-exercice-8-action-bind-event-tkinter/
Reprendre l'exercice précédent (Exercice 7) sans utiliser le bouton de commande. Utiliser simplement l'évenement bind action qui s'execute en appuyant sur la touche Entré du clavier
Enoncé de l'exercice8:
Ecrire un programme en python Tkinter qui affiche à l'utilisateur une fenêtre Python Gui Tkinter qui demande à l'utilisateur de saisir son nom sur un champs de saisi du type entry widget et de lui afficher un message de bienvenue sur un label widget de la même fenêtre tkinter quand on clique sur le widget bouton Tkinter. La vidéo a été crée avec Python 3.8 version Windows. Pour un visionnage de qualité, utiliser le navigateur google chrome.
Solution Exercise 8 Python Tkinter
Repeat the previous exercise (Exercise 7) without using the command button. Simply use the bind action event which is executed by pressing the Enter key on the keyboard
Exercise statement8:
Write a program in python Tkinter which displays to the user a Python Gui Tkinter window which asks the user to enter his name on an entry field of the entry widget type and to display a welcome message on a label widget of the same tkinter window when clicking on the Tkinter button widget. The video was created with Python 3.8 Windows version. For quality viewing, use the google chrome browser.