signal handling

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
signal handling

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 )

ICS_support

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.