Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtTreeGetCurrent()

Get the current item

Synopsis:

PtTreeItem_t *PtTreeGetCurrent( 
                   const PtWidget_t *widget );

Description:

This function returns a pointer to the current item in the given PtTree widget (see "Current item" in the description of PtGenList).

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTree, PtTreeClearSelection(), PtTreeGetSelIndexes(), PtTreeGoto(), PtTreeItem_t, PtTreeRootItem(), PtTreeSelect(), PtTreeSelectedItems(), PtTreeSetSelIndexes(), PtTreeShow(), PtTreeUnselect(), PtTreeUnselectNonBrothers()