| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Free all the items in a tree
void PtGenTreeFreeAllItems( PtWidget_t *tree );
This function unlinks and frees all items in the tree widget.
|  | This function isn't called automatically when the PtGenTree widget is being deleted, because the widget doesn't assume that its items have been allocated. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Index]](../keyword_index.gif) | ![[Next]](../next.gif) |