I’m writing a new application. I have a menu bar with several menu buttons
on the menu bar. For each menu button I have defined an accelerator key
which correctly shows up as an underline. I have then attached hot key
callbacks using the same letter and the Alt key to call a code type
callback. I.E. Add button has defined Alt-A as a hot key callback to call
a code callback.
If I click on the button (there is also an activate callback that calls the
same callback) it works fine. But if I type Alt-A it does not call my
What might I be doing wrong?
This is a brand new app. The only widgets are the menu bar and a few menu
buttons. I don’t see how anything else can be intercepting the keystrokes.