Freed Handle

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

Questions about motif? Contact us

2 posts / 0 new
Last post
Freed Handle

Submitted by Anonymous on Fri, 09/14/2001 - 21:14. Developers
HI,
I have a widget which is "freed Handle" .
It is not null. Is there a way to check if
the widget is valid or a freed handle.
Let me know.

Thanks,
kgs

ICS_support

No, there is no way. A widget is a pointer, and the pointer could be pointing to memory which has been freed and reused and looks good.

To track widget destruction, use XtNdestroyCallback.