Tkinter bind single key

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Tue Nov 6 18:25:33 CET 2001


>>>>> "NN" == Neal Norwitz <neal at metaslash.com> 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.

prabhu




More information about the Python-list mailing list