d***@gmail.com
2014-09-10 10:09:01 UTC
I'm in the process of migrating a TreeCtrl to a DataViewCtrl, but I've
noticed that DataViewCtrl has some predefined accelerators (keyboard
shortcuts) that override those set for some main menu items only when the
control is focused. In particular I've found Ctrl+f (opens a text search
that by the way works in the demo but not in my implementation) and Ctrl+n
(which only seems to move the focus down in the rows of items). TreeCtrl
itself was responding to letter and number keys in a sort of live text
search.
My question is: are these shortcuts documented somewhere (also possibly for
other widgets)? I would like to ensure my menu shortcuts work regardless of
where the focus is, and I wouldn't like to test each of them (they are
dozens) on each widget (still dozens, which makes hundreds of possible
combinations), and remember to do it every time I add a shortcut or a
widget, so having a comprehensive list would let me know what key
combinations to avoid.
Then, is there a way of disabling default accelerators in general? If not,
what is the recommended way to override them one by one?
Thank you
Dario
noticed that DataViewCtrl has some predefined accelerators (keyboard
shortcuts) that override those set for some main menu items only when the
control is focused. In particular I've found Ctrl+f (opens a text search
that by the way works in the demo but not in my implementation) and Ctrl+n
(which only seems to move the focus down in the rows of items). TreeCtrl
itself was responding to letter and number keys in a sort of live text
search.
My question is: are these shortcuts documented somewhere (also possibly for
other widgets)? I would like to ensure my menu shortcuts work regardless of
where the focus is, and I wouldn't like to test each of them (they are
dozens) on each widget (still dozens, which makes hundreds of possible
combinations), and remember to do it every time I add a shortcut or a
widget, so having a comprehensive list would let me know what key
combinations to avoid.
Then, is there a way of disabling default accelerators in general? If not,
what is the recommended way to override them one by one?
Thank you
Dario
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.