in reply to Binding keys to events?
and you can get access to the event to find out which key was pressed in the callback() routine. Have a look at the Tk::bind and Tk::Event man pages for more info.$widget->bind(q{<KeyPress>}, \&callback);
Cheers,
JohnGG
|
|---|