Get the index of a panel, given a pointer to the panel
int PtPGFindIndexByPanel( PtWidget_t *widget, PtWidget_t const *panel );
This function retrieves the index for a specified panel within the PtPanelGroup specified by the widget argument.
The panel index, or Pt_PG_INVALID if the panel couldn't be found, or if the PtPanelGroup isn't in multiple-container mode.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtPanelGroup, PtPGFindIndexByTitle(), PtPGFindPanelByIndex(), PtPGFindPanelByTitle(), PtPGFindTitleByIndex()