Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
How to run some Smalltalk code when entering a project
Last updated at 5:27 pm UTC on 29 March 2017
It is possible to run some Smalltalk code when entering or leaving a project.


World when: #aboutToEnterWorld send: #startUp to: anObject.
World when: #aboutToLeaveWorld send: #shutDown to: anObject.

The two events are triggered whenever the world is left or entered (including publishing operations). – (Source: Email by Andreas Raab, February 2002)