Embedding a morph
Last updated at 5:53 am UTC on 5 June 2018
In the regular case if a morph is dropped onto another morph it does not become a submorph of the other morph.
This only happens if you "embed" the morph. For this there is a menu.
Alternatively if you construct a composite morph like this
slide := Morph new extent: 480@320.
m := EllipseMorph new extent: 20@20.
slide addMorph: m.
m position: 102@15.
The morph m is automatically embedded as #addMorph: method has added m to the submorphs collection of slide.
As a particular case if you drop a morph onto PasteUpMorph the morph is as well embedded automatically.