[Cuis-dev] adding functionality to morphs

Mark Volkmann r.mark.volkmann at gmail.com
Sun Sep 1 09:55:11 PDT 2024


I see now that I was just missing a colon after #noop. This works:

te := TextEntryMorph contents: 'change me'.
te editor class keyboardActions at: 28 put: #noop:.
te setProperty: #keyStroke: toValue: [ :event | event keyValue print ].
te openInWorld.


On Sun, Sep 1, 2024 at 11:41 AM Hilaire Fernandes via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Yes, almost there. Dig a little more...
> Le 01/09/2024 à 18:33, Mark Volkmann via Cuis-dev a écrit :
>
> Hillaire, I think you are suggesting that I could do something like this:
>
> --
> GNU Dr. Geohttp://gnu.org/s/dr-geo/http://gnu-drgeo.blogspot.com/
>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>


-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240901/2ba14855/attachment.htm>


More information about the Cuis-dev mailing list