Return the nearest container parent
PtWidget_t *PtFindContainer( PtWidget_t *widget );
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.|
A pointer to the nearest container parent of widget, or NULL if no container parent was found.