[wxpython-users] Adding elements to an existing wx.AcceleratorTable

Robin Dunn robin at alldunn.com
Fri Apr 25 17:27:34 PDT 2008


raffaello wrote:
> Is there a command to add on the fly some elements to an existing 
> wx.AcceleratorTable, or do we have to use SetAcceleratorTable with a new 
> table including the old one?

Yes.  I've wondered about this myself a few times, but it's not too hard 
to just make a new table so I haven't worried about it very much.  There 
may be some limitation in the native implementations that wouldn't allow 
it to be updated in place.

> The problem would be that AFAIK there is no funtion accessing the 
> content of the existing accelerator table.

Correct.

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



More information about the wxpython-users mailing list