![]()  | 
![]()  | 
![]()  | 
![]()  | 
Get pointers to the selected items
PtGenListItem_t **PtGenListSelectedItems( 
                      PtWidget_t *widget, 
                      PtGenListItem_t **buffer );
This function fills the given buffer with pointers to the currently selected items.
If buffer is NULL, the function allocates a buffer using malloc(), and terminates the buffer with a NULL. It's your application's responsibility to free the buffer when it's no longer needed.
If buffer isn't NULL, the function adds a NULL to the end only if there are no selected items.
A pointer to the buffer.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
![]()  | 
![]()  | 
![]()  | 
![]()  |