Get the frontmost control surface belonging to a widget
PtSurface_t *PtSurfaceInFront( PtWidget_t *widget );
ph
This function gets the frontmost control surface belonging to the given widget.
A pointer to the PtSurface_t structure describing the control surface, or NULL if the widget doesn't have any control surfaces.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtInsertSurface(), PtInsertSurfaceById(), PtSurfaceBrotherBehind(), PtSurfaceBrotherInFront(), PtSurfaceInBack(), PtSurfaceToBack(), PtSurfaceToBackById(), PtSurfaceToFront(), PtSurfaceToFrontById()
Control Surfaces chapter of the Photon Programmer's Guide