PtListDeleteItemPos()

Delete a range of items from a list

Synopsis:

int PtListDeleteItemPos( PtWidget_t *widget,
                         int item_count,
                         int position );

Description:

This function deletes item_count items from the list, starting from position. The first item in the widget has a position of 1, not 0.

Returns:

0
Success.
-1
The specified widget isn't a PtList widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListDeleteAllItems(), PtListDeleteItems(), PtListRemovePositions()