[racket] racket/gui: reacting to close window event?

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu May 26 07:57:38 EDT 2011

I think you want the on-close and can-close? methods of the frame%.

Robby

On Thu, May 26, 2011 at 4:47 AM, Marijn <hkBst at gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> I would like to call some code when a user clicks the X in the upper
> left/right corner (close window button) or presses Alt-F4, but I didn't
> find anything about it in the docs. Any help?
>
> Thanks,
>
> Marijn
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.17 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3eIccACgkQp/VmCx0OL2w0BQCfUxdEOIm05FIOw0q0jDXwNUlR
> LzoAoLSLlVadYJknDkvRpvD7Eh2WQUYH
> =a2K4
> -----END PGP SIGNATURE-----
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users
>



Posted on the users mailing list.