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

PtDestroySurface()

Destroy a control surface

Synopsis:

void PtDestroySurface( PtWidget_t *widget,
                       PtSurface_t *surface );

Library:

ph

Description:

This function destroys the control surface specified by surface belonging to the given widget.


Note: All surfaces of a widget are automatically destroyed when the widget is destroyed.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtCreateActionSurface(), PtCreateSurface(), PtDestroyAllSurfaces(), PtDestroySurfaceById()

Control Surfaces chapter of the Photon Programmer's Guide