[squeak-dev] Docking bar keyboard navigation

Balázs Kósi rebmekop at gmail.com
Tue Feb 23 10:47:34 UTC 2010


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



More information about the Squeak-dev mailing list