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


Home
QNX Community Resources
QNX Documentation Library
QNX Community Resources

QNX Community Resources

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

PtTreeItemIndex
[Previous] [Contents] [Index] [Next]

PtTreeItemIndex()

Calculate the index of the given item within the list

Synopsis:

int PtTreeItemIndex( const PtTreeWidget_t *list, 
                     const PtTreeItem_t *item );

Description:

This function calculates the index of the given item within the list. 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] [Contents] [Index] [Next]