Another Key Binding Question
Wildman
best_lay at yahoo.com
Sat Mar 26 13:10:30 EDT 2016
I use some key bindings in my program. They are declared
like this:
root.bind("<Alt_L>" + "q", quit)
root.bind("<Alt_R>" + "q", quit)
root.bind("<Alt_L>" + "Q", quit)
root.bind("<Alt_R>" + "Q", quit)
The above binds both Alt keys with upper and lower case 'q'.
Is there a way to combine the statements above into one
statement?
--
<Wildman> GNU/Linux user #557453
May the Source be with you.
More information about the Python-list
mailing list