![]()  | 
![]()  | 
![]()  | 
![]()  | 
Calculate the index of a given item
int PtGenTreeItemIndex( 
        const PtWidget_t *tree, 
        const PtGenTreeTtem_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.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
![]()  | 
![]()  | 
![]()  | 
![]()  |