links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
World PasteUpMorph object (data structure)
Last updated at 8:30 am UTC on 16 December 2021
The data structure kept in the World variable follows the Composite pattern. This variable is kept for backward compatibility, see wiki page "world".

'The Design Patterns Smalltalk Companion' by Alpert, Brown, Woolf, p. 137: Composite pattern.

Thus the "World" global variable holds the root of the component tree.

To get an array with the direct children components of a Morph you send it the message 'submorphs'.

A primary mouse click (red-click) anywhere on the desktop (thus on the the instance of PasteUpMorph kept in World) brings up an instance of TheWorldMenu.

See also