Free an unlinked item
void PtTreeFreeItems( PtTreeItem_t *item );
This function frees the subtrees (the item together with its brothers and their children). The function assumes that the items don't belong to any tree - use the PtTreeRemoveChildren(), PtTreeRemoveItem(), or PtTreeRemoveList() function to remove the subtree from a tree widget before freeing the subtrees.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtTree, PtTreeAllocItem(), PtTreeFreeAllItems(), PtTreeRemoveChildren(), PtTreeRemoveItem(), PtTreeRemoveList()