PtSurfaceInFront()

Get the frontmost control surface belonging to a widget

Synopsis:

PtSurface_t *PtSurfaceInFront( PtWidget_t *widget );

Library:

ph

Description:

This function gets the frontmost control surface belonging to the given widget.

Returns:

A pointer to the PtSurface_t structure describing the control surface, or NULL if the widget doesn't have any control surfaces.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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

Control Surfaces chapter of the Photon Programmer's Guide