I was studying one of the examples that where in the wxPython example map
wxMenu.py
when you press ctrl + a
or shift + h
he prints something
I looked at the code but really couldn't find how they did it
I looked like half hour to it (and it's not much code)
so anyone could tell me how they did it there ?
Jonas Geiregat wrote:
I was studying one of the examples that where in the wxPython example map
wxMenu.py
when you press ctrl + a
or shift + h
he prints something
I looked at the code but really couldn't find how they did it
I looked like half hour to it (and it's not much code)
so anyone could tell me how they did it there ?
Text like "\tCtrl-A" in a menu item automatically make an accelerator for the key. YOu can also explicitly use wxAcceleratorTable.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!