PtDestroyWidget (widget)
This function deletes the widget. It will remove all callbacks attached to it as well. If the widget class has a defined destructor, then it is called. The class instance object is marked as a destroyed instance type and the memory used for the widget is recovered the next time the garbage collector runs.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.