Tkinter bind single key

Prabhu Ramachandran prabhu at
Tue Nov 6 18:25:33 CET 2001

>>>>> "NN" == Neal Norwitz <neal at> writes:

    NN> John Hunter wrote: Try using the "dialog".  In your example,
    NN> this would be root. ie:

    NN> 	root.bind('z', press_z)

    NN> I think I had to do this to get keys to work.

Yes, I also had to do something like this.


More information about the Python-list mailing list