Get the widget that's above a given widget in a family hierarchy
PtWidget_t * PtWidgetAbove( PtWidget_t *root, PtWidget_t *widget );
This function returns a pointer to the widget that's in front of widget, provided the returned widget isn't any higher in the widget family hierarchy than root.
PtWidgetAbove() skips any disjoint widgets that it finds as it traverses the hierarchy.
A pointer to the widget above, or NULL if there isn't one. If widget is the same as root, the function returns the first child of root, or NULL if root has no children.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtWidgetBrotherBehind(), PtWidgetBrotherInFront(), PtWidgetChildBack(), PtWidgetChildFront(), PtWidgetFamily(), PtWidgetParent(), PtWidgetTree(), PtWidgetTreeTraverse() in the Photon Library Reference