Operating systems, development tools, and professional services
for connected embedded systems

PtListGotoPos

PtListGotoPos()

Make an item the current item and display it

Synopsis:

void PtListGotoPos( PtWidget_t *widget,
                    int pos );

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).

The first item in the widget has an index of 1. If pos is 0, there will be no current item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListShowPos()