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


Home
QNX Community Resources
QNX Documentation Library
PtGenTreeGoto

PtGenTreeGoto

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

PtGenTreeGoto()

Set the current item and position so that a given item is visible

Synopsis:

int PtGenTreeGoto( PtWidget_t *tree, 
                   PtGenTreeItem_t *item );

Description:

This function sets the current item and (if necessary) the current position so that the new current item is visible (see "Current item" in the description of PtGenList).

If item is NULL, there's no current item.

You can call PtGenTreeGoto() with an item whose ancestor is collapsed, in which case the ancestor is expanded.

Returns:

The value returned by the Tree Item State method.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenTree, PtGenTreeItem_t