![]()  | 
![]()  | 
![]()  | 
![]()  | 
Destroy all of a widget's control surfaces
void PtDestroyAllSurfaces( PtWidget_t *widget );
ph
This function destroys all control surfaces of the given widget.
Generally this function is used only internally by the widget library, however you may call it if you wish.
![]()  | 
All surfaces of a widget are automatically destroyed when the widget is destroyed. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtCreateActionSurface(), PtCreateSurface(), PtDestroySurface()
Control Surfaces chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |