![]() |
![]() |
![]() |
![]() |
Hide a control surface
int PtHideSurface( PtWidget_t *widget,
PtSurface_t *surface );
int PtHideSurfaceById( PtWidget_t *widget,
unsigned char surface_id );
ph
These functions hide a control surface belonging to the given widget. They differ in how they identify the control surface:
Hidden surfaces don't draw and aren't included in event processing.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtHideSurfaceByAction(), PtShowSurface(), PtShowSurfaceByAction(), PtShowSurfaceById(), PtSurfaceIsHidden(), PtSurfaceIsShown()
Control Surfaces chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |