Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How do I get access to a particular submorph?
Last updated at 10:20 pm UTC on 23 August 2017
Assuming the submorph (child morph) has a name do

     self submorphNamed: aName


To get access to a sibling morph do

     self owner submorphNamed: aName

If your submorph doesn't have a name yet, simply open the parent Morph in an inspector, switch to "explore" view, select your submorph in the tree and in the command pane at the bottom do

     self name: 'theNameYouWant'