Title / Description
Code import tkinter as tk gui = tk.Tk() gui.geometry("200x200") def myFunction(event): label["text"] = "Vous avez appuyé sur Entrée" gui.bind('<Return>', myFunction) label = tk.Label(gui, text="") label.pack() gui.mainloop()
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code