Submitted by ooolongcha on Tue, 04/09/2002 - 05:53. Developers
hello,
i would like to call a cleanup function whenever the user decides to close the window (clicks the "X" on the title bar).. is there any callback or signal that can trap this action? thanks in advance )
Mon, 07/09/2012 - 09:45
#1
signal handling
It`s not a signal, but you can catch the Event. See information on catching WM_DELETE_WINDOW in the comp.windows.x FAQ and in the Motif information for VendorShell or WMShell, which provide a resource-based mechanism for getting notification of the user`s action.