Re: Trapping the Pharo window close event
Posted by
Esteban A. Maringolo on
Apr 15, 2016; 9:12pm
URL: https://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4890265.html
Maybe he refers to the option to abort the close request programmatically in an event based approach.
Something like that UI close event is handled and triggers a "QuitSmalltalkRequested" event (or announcement) with a boolean value holder as argument, if no one handling such event/announcement vetoed the request, then it continues to normal shutdown.
Dolphin Smalltalk uses that approach, see SessionManager >> queryEndSession at [1]