Login  Register

Re: Trapping the Pharo window close event

Posted by stepharo on Apr 22, 2016; 5:42am
URL: https://forum.world.st/Trapping-the-Pharo-window-close-event-tp4890079p4891262.html

My point is that it is a proof that a library is not good when it forces users to redefined core code.

Stef


Le 15/4/16 23:06, Peter Uhnák a écrit :
I did not really get it. Now I have the impression that changing the method definition shows that Pharo does not
offer the correct possibility.
Am I correct?

I disagree. Closing the window should not decide on it's own whether the session should be saved. Asking the user is the right thing.

The ideal thing would be to not ask if nothing has happened... but that's impossible, this is a live system, not a text editor.

Peter