Free an unlinked item
int PtTreeFreeItems( PtTreeItem_t *item );
This function frees the given subtrees (the item together with its brothers and their children). The items must not belong to any tree — use PtTreeRemoveChildren(), PtTreeRemoveItem(), or PtTreeRemoveList() 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(), PtTreeItem_t, PtTreeRemoveChildren(), PtTreeRemoveItem(), PtTreeRemoveList()