[squeak-dev] Replacement for TextDisplayMorph

Enno ennoausberlin at mac.com
Fri Jun 4 08:24:45 UTC 2010


Hello

StringMorph or TextMorph might work. Override mouse handling in  
TextMorph  to prevent edits would be my first guess

Hth
Enno



Am 04.06.2010 um 09:32 schrieb Ralph Boland <rpboland at gmail.com>:

> I started using squeak with Squeak 3.6 and one of the classes I used  
> was
> TextDisplayMorph.  At some point this class disappeared from Squeak so
> I just carried it forward.  But now I would like to get rid of it and
> use whatever
> one is supposed to use instead of a TextDisplayMorph.  The key  
> property
> I am looking for is that the user cannot edit the text in the morph.
> My best guess as to the replacement for TextDisplayMorph is  
> PluggableTextMorph
> but of course it allows the user to edit the text.
>
> What class do I use to replace TextDisplayMorph  and if the answer is
> PluggableTextMorph how am I supposed to make the text not editable
> by the user?
> Alternatively could someone point me to code in Squeak that I could
> study to find my answer?
>
>
> Thanks
>
> Ralph Boland
>
>
> -- 
> Quantum Theory cannot save us from the tyranny of a deterministic  
> universe
> but it does give God something to do
>



More information about the Squeak-dev mailing list