I'm facing an issue ( traitsui 4.3, using the PyQt backend on osx 10.8 ) with
the accelerators keys, that kind a keyboard shortcut to an Action.
Thing is that the method the Action is bound to, is not called, when pressing
the accelerator key.
I've been tracing the "site-packages/traitsui/key_bindings.py" "_do" method
such to make sure that the correct string ( "Meta-P") is passed along.
Simple pushing the button does evoke the method, so I consider this a bug, though
unfortunately I havent been able to trace its cause.
Another question I have with creating these Menu's and Action is that any
exceptions in the handling method are ignored. Is is possible to override
this behaviour? Having exceptions not bubble up can be pretty frustrating, when
not aware of this default ( undocumented? ) behaviour.
Below is an adaptod example, which is the simplest program to demonstrate the
# handler_override.py -- Example of a Handler that overrides setattr(), and
# that has a user interface notification method