Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtFindContainer()
Return the nearest container parent
Synopsis:
PtWidget_t *PtFindContainer( PtWidget_t *widget );
Library:
ph
Description:
This function returns the nearest container parent (which could be widget itself).
![]() |
Some container widgets, including PtDivider, PtMenuBar, PtMultiText, and PtScrollArea redirect children to an alternate parent. For all container widgets, it's best to call PtValidParent() to determine the "real" parent of the children. |
Returns:
A pointer to the nearest container parent of widget, or NULL if no container parent was found.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
