This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Hide a control surface
int PtHideSurface( PtWidget_t *widget, PtSurface_t *surface ); int PtHideSurfaceById( PtWidget_t *widget, uchar_t 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