I think that

browser := GLMBasicExamples new textSelection

inherits from Morph.

If it actually does, you can use eventHandler (if you are using a 1.4 image)

handler := BlockEventHandler new.
handler keyStrokeBlocOrSelector: [:evt :morph | evt keyString =  '<Cmd-M>'
ifTrue: [ self halt ]].
browser eventHandler: handler.



Ben


On Oct 27, 2011, at 11:49 AM, VOGT Simon wrote:

Hi

We have a Moose question!

http://stackoverflow.com/questions/7914189/in-moose-how-can-i-be-notified-of-a-special-key-press

Simon
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev