| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
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]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |