Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!isctsse!gabber!rao From: rao@gabber.kodak.com (Arun Rao) Newsgroups: comp.windows.x Subject: Addendum to "Motif widgets don't execute destroy callbacks when destroyed" Keywords: widget destroy callback motif Message-ID: <1991Apr25.193617.15879@usenet@kadsma> Date: 25 Apr 91 19:36:17 GMT References: <1991Apr25.123828.13830@usenet@kadsma> <1991Apr25.155150.22596@auto-trol.com> Sender: usenet@usenet@kadsma (News Administrator) Reply-To: rao@gabber.kodak.com (Arun Rao) Organization: Image Electronics Center, Eastman Kodak Company Lines: 35 In article <1991Apr25.155150.22596@auto-trol.com>, marbru@auto-trol.com (Martin Brunecky) writes: ..... |> However, none of the above would explain why the destroy callbacks don't get |> executed ... though somewehere in the back of my mind something rings about |> some problems in this area, related to some special objects Motif creates... |> |> So at least, next time you ask for help, describe your widget hierarchy |> in terms of widget classes used .... and the call used to destroy it. |> May be someone wil be able to help you then. .... You're right -- thanks. It's Motif1.1, and we have the right version of the toolkit. The widget hierarchy: toplevel -> bulletin board 0 -> bulletin board 1 | | | popup menu with quit button Bulletin board 1 has a destroy callback registered. The quit callback does something like this ..... XtDestroyWidget(bulletin board 0); exit; The destroy callback with bboard 1 does not get called. -Arun