[Cuis-dev] listening for TextModelMorph changes
Weslleymberg Lisboa
weslleym.lisboa at gmail.com
Sun Jan 12 20:23:22 PST 2025
Hi, Mark
I think Object>>when:send:to: is what you are looking for. Call it on
your TextModel instance to register and object to be notified. I'm still
learning this mechanism, but this wiki page might be of some help:
https://github.com/nmingotti/The-Cuis-CookBook/wiki/The-Dependency-Mechanism--3
Em 12/01/2025 23:04, Mark Volkmann via Cuis-dev escreveu:
> Is there a way to register to have a message sent to a given object
> every time the "model actualContents" value of a TextModelMorph changes?
> I searched through the code for TextModelMorph and TextModel, but
> couldn't find a solution.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
--
Wéslleymberg Lisboa
Graduado em Sistemas de Informação
Docente no IFFluminense - Campus Itaboraí
More information about the Cuis-dev
mailing list