[ENH] MenuKeyboardNavigation-rr

rrobbes at info.unicaen.fr rrobbes at info.unicaen.fr
Wed Mar 24 13:06:27 UTC 2004


from preamble:

"Change Set:		MenuKeyboardNavigation-rr
Date:			24 March 2004
Author:			Romain Robbes

Enhances keyboard navigation in MenuMorphs :

- tab goes down
- shift-tab goes up
- right opens a submenu, or goes down
- left closes a submenu
- pageUp and pageDown select and activate the 'more...' item if present.
- return and enter both activate the selected item
-1 menu items are automatically deployed.
-using space when keyboard-filtering enters another search substring, as
opposed to matching the space character.

The MenuMorph>>keyStroke: method was refactored in the process.
You should activate the menuKeyboardControl to try it, and maybe file in

one of my previous focus fixes, else menus in TextMorphs won't react to
key
presses.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MenuKeyboardNavigation-rr.cs.gz
Type: application/octet-stream
Size: 2389 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040324/161102ac/MenuKeyboardNavigation-rr.cs.obj


More information about the Squeak-dev mailing list