Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtListReplaceItemPos

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtListReplaceItemPos

[Previous] [Contents] [Index] [Next]

PtListReplaceItemPos()

Replace items in a list at a specific position

Synopsis:

int PtListReplaceItemPos( PtWidget_t *widget,
                          const char **new_items,
                          int item_count,
                          int position );

Description:

This function replaces item_count items in the list with new_items. The position argument tells the function where to start. The first item in the widget has a position of 1, not 0.

Returns:

0
Success.
-1
A memory allocation error occurred, or the specified widget is not a PtList widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListReplaceItems()


[Previous] [Contents] [Index] [Next]

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026