Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
SimpleButtonMorph - 'back' example
Last updated at 12:11 pm UTC on 16 January 2006
The following code snippet creates a button labeld 'back', which goes back to the previous The Future of Squeak, 1999, when pressed.

 s _ SimpleButtonMorph - 'quit' example new.
 s target: The Future of Squeak, 1999.
 s label: 'back'.
 s actionSelector: #returnToPreviousProject.
 s openInWorld.