[comp.windows.x] Addendum to "Motif widgets don't execute destroy callbacks when destroyed"

rao@gabber.kodak.com (Arun Rao) (04/26/91)

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