Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!isctsse!gabber!rao From: rao@gabber.kodak.com ( Arun Rao) Newsgroups: comp.windows.x Subject: Motif widgets don't execute destroy callbacks when destroyed Keywords: widget destroy callback motif Message-ID: <1991Apr25.123828.13830@usenet@kadsma> Date: 25 Apr 91 12:38:28 GMT Sender: usenet@usenet@kadsma (News Administrator) Reply-To: rao@gabber.kodak.com ( Arun Rao) Organization: Image Electronics Center, Eastman Kodak Company Lines: 17 This posting apparently didn't make it out yesterday -- sorry if it actually did. I have an application which has various widgets which need to perform miscellaneous clean-up/housekeeping tasks before quitting. To this end, I have registered appropriate destroy callbacks (XtNdestroyCallback list) with the widgets in question. I expect these to be called when I explicitly destroy the topmost widget in the tree before quitting. So far, I have had no success -- the destroy callbacks are not executed at all. Is there something fundamentally wrong with my assumption? Any tips would be greatly appreciated. Thanks in advance. -Arun