With Tk::Button the -command callback is invoked when the button is released. How do I additionally add a callback that gets invoked when the button is pressed?
Basically my aim is to make a sort of on-screen piano keyboard where pressing each Tk::Button widget with the mouse sends a MIDI 'note on' command and subsequently releasing the mouse button sends a MIDI 'note-off' command to a synthesizer.