![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Calculate the index of the given item within the tree
int PtTreeItemIndex( const PtTreeWidget_t *tree, 
                     const PtTreeItem_t *item );
This function calculates the index of the given item within the tree. The index of the first item is 1.
The index of the item, or 0 if it belongs to a collapsed subtree.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtTree, PtTreeAllItems(), PtTreeGetSelIndexes(), PtTreeItem_t
![]()  | 
![]()  | 
![]()  | 
![]()  |