| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Fill a buffer with item pointers
PtTreeItem_t **PtTreeSelectedItems( 
                      PtWidget_t *widget, 
                      PtTreeItem_t **buffer );
This function fills a buffer with pointers to the tree's selected items:
|  | Items that belong to collapsed subtrees aren't included in the buffer. | 
A pointer to the buffer.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtTree, PtTreeClearSelection(), PtTreeGetCurrent(), PtTreeGetSelIndexes(), PtTreeGoto(), PtTreeItem_t, PtTreeSelect(), PtTreeSetSelIndexes(), PtTreeUnselect(), PtTreeUnselectNonBrothers()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |