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 11:32 am UTC on 7 June 2019
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.


 when:send:to:withArguments:

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