Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtWidgetBrotherInFront()

Get the brother in front of a widget

Synopsis:

PtWidget_t *PtWidgetBrotherInFront( 
                PtWidget_t *widget );

Arguments:

widget
A pointer to the widget whose brother you want to find.

Library:

ph

Description:

This macro returns a pointer to the brother in front of widget. If there's no brother in front of widget, the macro returns NULL.

Examples:

See PtWidgetBrotherBehind().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtWidgetBrotherBehind(), PtWidgetChildBack(), PtWidgetChildFront(), PtWidgetParent()

Ordering widgets in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide