[wxpython-users] accelerator newbie, help

Robin Dunn robin at alldunn.com
Thu Apr 24 17:55:00 PDT 2008


Quoting Phillip Watts <phillip.watts at anvilcom.com>:

> I used Mike Driscoll's example of a fake menu to get some
> id's for the accelerator table, which apparently must use
> to get frame level keyboard events.

All that's needed is an ID, (wx.NewId()) and to use the same ID in the  
accelerator table and in the Bind statement.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!






More information about the wxpython-users mailing list