What string gets included after the \t in a menu item to create a
numeric keypad accelerator (i.e. NUM 1, NUM ADD, NUM SUBTRACT, etc.)?
Too much drinking, I guess, but I can't find in docs
Thanks!
What string gets included after the \t in a menu item to create a
numeric keypad accelerator (i.e. NUM 1, NUM ADD, NUM SUBTRACT, etc.)?
Too much drinking, I guess, but I can't find in docs
Thanks!
If you check the demo for the KeyEvents demo, you will discover the
constants that are generated for each keydown/keyup, etc.
As for actually using them in menu shortcuts, you've got me. I bypass
the menu hotkey system in my apps.
- Josiah
Jason Terando <jason.terando@verizon.net> wrote:
What string gets included after the \t in a menu item to create a
numeric keypad accelerator (i.e. NUM 1, NUM ADD, NUM SUBTRACT, etc.)?Too much drinking, I guess, but I can't find in docs
Jason Terando wrote:
What string gets included after the \t in a menu item to create a
numeric keypad accelerator (i.e. NUM 1, NUM ADD, NUM SUBTRACT, etc.)?
Looks like the code is checking for a 'KP_' prefix, so 'KP_ADD', etc.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Thank you! That is exactly what I needed!
On Wed, 2006-07-19 at 14:08 -0700, Robin Dunn wrote:
Jason Terando wrote:
> What string gets included after the \t in a menu item to create a
> numeric keypad accelerator (i.e. NUM 1, NUM ADD, NUM SUBTRACT, etc.)?Looks like the code is checking for a 'KP_' prefix, so 'KP_ADD', etc.