Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Morph Structure
Last updated at 2:42 pm UTC on 16 January 2006
Every morph may have an owner, and may have multiple submorphs. The ultimate owner is World, which is the morph that is directly displayed by the main morphic interaction loop. Cycles are not allowed in the submorphs relationship, and so the morphs form a tree with World at the root and submorphs underneath it.

A morph is added as a submorph of another morph using

   
#addMorph

or one of its variants such as

   
#addMorphBack:
.

A morph is deleted from its current owner using

   
#delete
.

Finally, owners and submorphs may be queried using

   
#owner

and

   
submorphs

respectively.

To open a new morph initially, use

   
#openInWorld