Identify position of widget in hierarchy relative to another widget
PtWidget_t * PtWidgetAbove( PtWidget_t *root, PtWidget_t *widget );
This function returns the widget in front of widget, provided the returned widget isnt any higher in the hierarchy than root.
A pointer to the widget above, or root if there isnt one; NULL if widget is the same as root, or widget is NULL.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtWidgetBrotherBehind(), PtWidgetBrotherInFront(), PtWidgetChildBack(), PtWidgetChildFront(), PtWidgetFamily(), PtWidgetParent(), PtWidgetTree(), PtWidgetTreeTraverse()