Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Creating a Morph
Last updated at 11:01 pm UTC on 24 August 2016
You can create a morph by choosing the menu item 'new morph...', or by using the object tool or by dragging a morph from the Flaps.

You can also create morphs from code. When you create a Morph in a Workspace, for example:

  RectangleMorph new
it does not display. To display the morph, send it the message openInWorld:

  RectangleMorph new openInWorld
This adds the Morph to the World.

Some Morphs have special creator methods. See, for example, SketchMorph or ThumbnailMorph.

See also

Example - aRectangleMorph addMorph: anotherMorph