| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Insert an item after the specified item
void PtTreeAddAfter( PtWidget_t *tree,
                     PtTreeItem_t *item,
                     PtTreeItem_t *brother );
This function inserts a list of trees linked with the brother member of the PtTreeItem_t structure.
PtTreeAddAfter() assumes that item points to a list of trees. The tree variable points to a PtTree widget. The new items are added to the specified tree below the specified brother:

The results of using PtTreeAddAfter().
This function may be called with a NULL tree argument, as long as brother points to an item that isn't attached to any tree widget.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtTree, PtTreeAddFirst(), PtTreeAllocItem(), PtTreeFreeAllItems(), PtTreeFreeItems(), PtTreeItem_t
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |