Hi Camillo,

Sorry for not answering earlier; at the moment, I'm on duty and offline during 
daytime for two weeks :(

For selecting by hand the focus, you can use takeKeyboardFocus on the model of 
the widget you want to activate; by default, Morphic selects the first keyboard 
interested morph.

However, it may be hard to find the right place to set the keyboard focus after 
opening the window. I think that Spec should have the equivalent to 
VisualWorks' postBuildWith: and postOpenWith: (if my memory is right) to make 
that easier.

Thierry

________________________________________
De : [email protected] 
[[email protected]] de la part de Camillo Bruni 
[[email protected]]
Date d'envoi : lundi 8 octobre 2012 20:17
À : [email protected] Development
Objet : [Pharo-project] spec + shortcuts

I just looked at https://code.google.com/p/pharo/issues/detail?id=6736
Everything looks more or less ok, the keymapping integration is nice!

I have one doubt though (and I really don't know anything about spec...).

How do I explicitly set the default focus when opening an spec UI-item?


Reply via email to