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

PtGenTreeGetSelIndexes()

Get the indexes of the selected items

Synopsis:

unsigned short *PtGenTreeGetSelIndexes( 
                    PtWidget_t *widget, 
                    unsigned short *buffer );

Description:

This function fills a buffer with indexes of all the selected items in the widget. If buffer is NULL, the function will allocate a buffer using malloc(), and the buffer will be zero-terminated.

If buffer isn't NULL, the function adds a NULL to the end only if there are no selected items.

Returns:

A pointer to the buffer containing the indexes.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

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