[squeak-dev] Tab-key navigation in dialogs/windows
Marcel Taeumel
marcel.taeumel at hpi.de
Mon Aug 3 08:30:06 UTC 2020
Hi all!
> A related topic might be the absence of tab navigation in Squeak. In many GUI systems there is a key to move the focus to the next widget, mostly the tab key. There is no such thing in Squeak, is it?
It's not working. But here are code fragments:
Morph >> #tabAmongFields
Morph >> #tabHitWithEvents:
Also browse senders of both.
If I would implement it, I would do it as an event filter but only for Pluggable*Morph classes. The tool builder can then install those filters after building the widgets. Note that there is #keyboardFocusDelegate, which configures calls to HandMorph >> #newKeyboardFocus:. There is also #hasKeyboardFocus:.
Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200803/0f7b65fa/attachment.html>
More information about the Squeak-dev
mailing list
|