Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtGenTreeItemIndex

PtGenTreeItemIndex

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

PtGenTreeItemIndex()

Calculate the index of a given item

Synopsis:

int PtGenTreeItemIndex( 
        const PtWidget_t *tree, 
        const PtGenTreeTtem_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.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree