Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtTreeItemIndex()
Calculate the index of the given item within the tree
Synopsis:
int PtTreeItemIndex( const PtTreeWidget_t *tree,
const PtTreeItem_t *item );
Description:
This function calculates the index of the given item within the tree. The index of the first item is 1.
Returns:
The index of the item, or 0 if it belongs to a collapsed subtree.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtTree, PtTreeAllItems(), PtTreeGetSelIndexes(), PtTreeItem_t
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)