PtListDeleteAllItems()

Delete all items from a list

Synopsis:

int PtListDeleteAllItems( PtWidget_t *widget );

Description:

This function deletes all the items from a list.

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, PtListDeleteItems(), PtListDeleteItemPos(), PtListRemovePositions()