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

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. If you pass item as NULL, there will be no current item.

PtGenTreeGoto() can be called 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

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