My Problem today is, that I don't get Canvas hotkeys bindings working.. Working example with Mousebutton:
def abc(event):
print("abc")
root = Tk()
canv = Canvas(root)
canv.pack(expand=True, fill=BOTH)
canv.bind("<Button-1>", abc)
root.mainloop()
Not working with "a" letter:
def abc(event):
print("abc")
root = Tk()
canv = Canvas(root)
canv.pack(expand=True, fill=BOTH)
canv.bind("a", abc)
root.mainloop()
How do I get this working?