Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: event queue (close) Message-ID: <8907191315.AA09820@expire.lcs.mit.edu> Date: 19 Jul 89 13:15:42 GMT References: <2136@sjuvax.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 12 if the user closes one of the program's windows with the mouse (i.e. clicks on the 'Close' option of the window's menu), what, if any, signal is generated? If by 'Close' you mean "Iconify", your window will be unmapped (if the window manager conforms to the ICCCM). You can select for StructureNotify on your window to receive the UnmapNotify event. If by 'Close' you mean "Destroy", your window will be destroyed (and unmapped as well, if it was mapped). You can select for StructureNotify on your window to receive the DestroyNotify event.