PtPGFindPanelByIndex()

Get a pointer to the panel widget with a given index

Synopsis:

PtWidget_t *PtPGFindPanelByIndex( PtWidget_t *widget,
                                  int panel );

Description:

This function retrieves the panel associated with the specified panel index within the PtPanelGroup specified by the widget argument.

Returns:

A pointer to the panel widget, or NULL if the specified panel doesn't exist or the PtPanelGroup isn't in multiple-container mode.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtPanelGroup, PtPGFindIndexByPanel(), PtPGFindIndexByTitle(), PtPGFindPanelByTitle(), PtPGFindTitleByIndex()