Read-only test morph ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Read-only test morph ?

Stéphane Rollandin
Hello,

Is there a simple way to make a PluggableTextMorph (or a similar beast)
read-only ?


Stef

Reply | Threaded
Open this post in threaded view
|

Re: Read-only test morph ?

Bob Arning-2
Something like:

AlignmentMorph newRow
    hResizing: #shrinkWrap;
    vResizing: #shrinkWrap;
    addMorph: (
        TextMorph new
            width: 500;
            contentsWrapped: TextMorph comment;
            lock
    );
    openInWorld

perhaps?

Cheers,
Bob

On 6/21/13 7:57 AM, Stéphane Rollandin wrote:
Hello,

Is there a simple way to make a PluggableTextMorph (or a similar beast) read-only ?


Stef





Reply | Threaded
Open this post in threaded view
|

Re: Read-only test morph ?

Stéphane Rollandin
>              lock

Forgot about this one...

thanks !

Stef