PtPGFindIndexByTitle()

Get the index of a panel, given its title

Synopsis:

int PtPGFindIndexByTitle( PtWidget_t *widget,
                          char const *title );

Description:

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

Returns:

The panel index, or Pt_PG_INVALID if the panel couldn't be found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtPanelGroup, PtPGFindIndexByPanel(), PtPGFindPanelByIndex(), PtPGFindPanelByTitle(), PtPGFindTitleByIndex()