Hi,
In my menu items i'm using to define also the shortcuts keys such as:
"New\tCtrl+N"
"Open\tCtrl+O"
But if i assign for example:
Ctrl+,
It doesn't work
Where is my error?
P.s. Is this the only way to assign keyb shortcuts?
Alessandro Crugnola - sephiroth
···
---------------------------------------------
Macromedia Flash Team Volunteer
http://www.macromedia.com/go/team
Flash && PHP developer
alessandro@sephiroth.it
*relax with SEPY http://www.sf.net/projects/sepy
---------------------------------------------
Robin
2
Alessandro Crugnola *sephiroth* wrote:
Hi,
In my menu items i'm using to define also the shortcuts keys such as:
"New\tCtrl+N"
"Open\tCtrl+O"
But if i assign for example:
Ctrl+,
It doesn't work
Because the function that translates the menu text to an accelerator does not handle all characters., just letters, numbers and common keynames.
Where is my error?
P.s. Is this the only way to assign keyb shortcuts?
No, you can use an wx.AcceleratorTable directly.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!