focus and key stroke in GTInspector?

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

focus and key stroke in GTInspector?

abergel
Hi!

Consider the following script:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
v := RTView new.
label := RTLabel elementOn: 'TypeSomething'.
v add: label.
v when: TRKeyDown do: [ :evt |
        label trachelShape text: label trachelShape text, evt keyValue asCharacter asString.
        v signalUpdate.
].

v
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

If I open the view, then typing write text in the roassal view. In GTInpector, this does not work, because the left pane keeps the key focus. I have the impression the left pane should release the keyboard focus when the mouse on the right pane. No?

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev