Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PtGenListItemIndex

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PtGenListItemIndex

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

PtGenListItemIndex()

Find the index of an item

Synopsis:

int PtGenListItemIndex( 
        PtWidget_t const *list, 
        PtGenListItem_t const *item );

Description:

This function calculates the index of the given item within the list. The index of the first item is 1.

Returns:

The index of the given item.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t


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

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