| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Get the brother in front of a widget
PtWidget_t *PtWidgetBrotherInFront( 
                PtWidget_t *widget );
This function returns a pointer to the brother in front of widget. If there's no brother in front of widget, the function returns NULL.
See PtWidgetChildBack().
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtWidgetBrotherBehind(), PtWidgetChildBack(), PtWidgetChildFront(), PtWidgetParent()
"Ordering widgets" in the Creating Widgets in Application Code chapter of the Photon Programmer's Guide
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |