Hi Peter,
There are two methods which can be used for this purpose.
#outOfWorld:
#announceDeleted
Both are called recursively down the morph tree from the window.
If you need to stop the window or provide a dialog then you should create a
subclass of Model and use that to keep references to things that need
cleanup and control the closing and other events.
Best regards,
Henrik
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html