[Newbies] Creating a Class from composite morphs

Dan dnorton at mindspring.com
Sun Dec 14 22:32:22 UTC 2014


On 13 Dec 2014 at 8:01, Michael Patrick wrote:

> Hello,
> 
> Is there a mechanism in squeak to select a composite morph and
> create a new Class?  For example, you can graphically create
> composite morphs with the user interface by dropping various morphs
> into other morphs.  You can save that morph to a file and read it in
> but there doesn´t seem to be an easy way to add it to the Class
> library in your image.  There is a command for making a subclass but
> that seems to lose all of the submorphs.  This seems like a feature
> that Morphic should have.  So if it doesn´t then I am concerned
> that I am missing something about the proper way to develop in
> squeak.  Can someone enlighten me?
> 
> Thanks in advance!  
> 
> Michael
>
Was this answered on the list? If so, I missed it.

Although one can copy a class which is being browsed, that does not copy subclasses. So it 
seems the answer is no?

- Dan


More information about the Beginners mailing list