Make an item the current item and display it
void PtListGotoPos( PtWidget_t *widget, int pos );
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.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |