binding Control-s to a text widget

Keagan Schopfer the_mantis at antionline.com
Tue Oct 10 13:14:46 EDT 2000


hello

I would like to bind control-s to a text widget. but, when i do this:

text.bind("<KeyPress-Control_L-a>", callback)
#or
text.bind("<Control_L-a>", callback)

it tells me TclError: extra characters after detail in binding

is there some way i can pull this off?

thanks in advance





More information about the Python-list mailing list