![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Fill a buffer with indexes
unsigned short *PtTreeGetSelIndexes( 
                    PtWidget_t *widget, 
                    unsigned short *buffer );
This function fills a buffer with indexes of all the selected items in the PtTree widget. The first item in the widget has an index of 1, not 0.
![]()  | 
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(), PtTreeGoto(), PtTreeItem_t, PtTreeRootItem(), PtTreeSelect(), PtTreeSelectedItems(), PtTreeSetSelIndexes(), PtTreeShow(), PtTreeUnselect(), PtTreeUnselectNonBrothers()
![]()  | 
![]()  | 
![]()  | 
![]()  |