wxMenu

Hi list,

I have a peculiar problem with F10 and Menu’s with wxPython 2.6.3,2, python

2.6.2 on Ubuntu.

I have not assigned F10 to any accelleration table or anything, but whenever I

press F10 it jumps to the menubar. This is not what I want. I want to use F10

as an accelleration key.

The same behaviour also shows in the demo application. See "Process and Events

/ KeyEvents"

How can I use F10 as an accelleration key?

Cheers,

D.Kniep

This is because GTK is taking the key and activating the menu before wx gets a chance to use it as an accelerator. I'm not sure but I think there may be a workaround in GTK/Gnome settings someplace but I don't know details.

···

On 10/4/09 9:14 AM, dick wrote:

Hi list,

I have a peculiar problem with F10 and Menu's with wxPython 2.6.3,2, python
2.6.2 on Ubuntu.

I have not assigned F10 to any accelleration table or anything, but
whenever I
press F10 it jumps to the menubar. This is not what I want. I want to
use F10
as an accelleration key.

--
Robin Dunn
Software Craftsman