[Cuis-dev] TextModelMorph

Bernhard Pieber bernhard at pieber.com
Mon Jun 10 23:12:22 PDT 2024


Well, you specified that the textSetter is #name, so that is sent. I guess #name: is what you wanted.

Cheers,
Bernhard

> Am 10.06.2024 um 19:01 schrieb Mark Volkmann via Cuis-dev <cuis-dev at lists.cuis.st>:
>
> I'm learning how to use a `TextModelMorph`.
>
> I have this in an instance method and it renders fine:
>
> textMorph := TextModelMorph
> textProvider: self
> textGetter: #name
> textSetter: #name .
>
> The class defines the instance methods `name` and `name: aString`.
> But when I modify the value in the TextModelMorph, the `name: aString` method is not called.
> Shouldn't it do that?
>
> --
>
> R. Mark Volkmann
> Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240611/6b591640/attachment.htm>


More information about the Cuis-dev mailing list