Answers for "enter button in tkinter"

2

tkinter execute function on enter

def func(event):
    print("You hit return.")
    
root.bind('<Return>', func)
Posted by: Guest on March-12-2021
1

how to create a enter box in tkinter

canvas1 = tk.Canvas(root, width = 400, height = 300)
canvas1.pack()
Posted by: Guest on June-10-2020

Python Answers by Framework

Browse Popular Code Answers by Language