PtSurfaceBrotherInFront()

Get the control surface in front of a given one

Synopsis:

PtSurface_t *PtSurfaceBrotherInFront(
                PtWidget_t *widget,
                PtSurface_t *surface );

Library:

ph

Description:

This function gets the control surface in front of the surface described by surface.

Returns:

A pointer to the PtSurface_t structure describing the control surface in front, or NULL if there isn't one.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtInsertSurface(), PtInsertSurfaceById(), PtSurfaceBrotherBehind(), PtSurfaceInBack(), PtSurfaceInFront(), PtSurfaceToBack(), PtSurfaceToBackById(), PtSurfaceToFront(), PtSurfaceToFrontById()

Control Surfaces chapter of the Photon Programmer's Guide