Docking bar keyboard navigation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Docking bar keyboard navigation

Balázs Kósi
Hi,

I uploaded Morphic-kb.349 to The Inbox. It adds keyboard navigation to the
docking bar. You can press Ctrl+` to activate the docking bar, and Esc to
deactivate it, which restores your old focus. You can navigate with the
arrow keys and Esc, and invoke a menu item with Enter. The upload contains
some refactoring of the menus.

The implementation registeres the DockingBarMorph as a keyboard listener
of the active hand to catch Ctrl+` strokes. Nobody else does that (i.e. register
keyboard listeners). Is it good practice?

If you have any ideas for improvement, or find any glitches, please tell!

Balázs