[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
XtDestroyWidget() on them? [Last modified: Nov 96] Answer: To avoid memory corruption problems, the X Toolkit uses a 2 phase destroy process. When you call XtDestroyWidget(), the widgets are not really destroyed until after you return to the Xt main loop. Until then, the widget will behave (mostly) as if they were not destroyed. If this is a problem, you should unmanage them as well (you can safely unmanage them after you destroy them and before you return to the main loop). Ken Lee Note: The details of the two-phase destruction are described on the XtCreateWidget(3Xt)/XtDestroyWidget(3Xt) man page. - ksall@cen.com
Send corrections/additions to the FAQ Maintainer:
Last Update May 13 2007 @ 00:23 AM