| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) | 
Decrement the global hold count
int PtUpdate( void );
This function decrements the global hold count. If this hold count goes to 0, all widget damage is repaired and the widget visibility flags (Pt_OBSCURED and Pt_CLEAR) are updated.
The current hold count, or -1 if an error occurred.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtContainerHold(), PtContainerRelease(), PtFlush(), PtHold(), PtModalStart(), PtRelease()
| ![[Previous]](../image-lib/prev.gif) | ![[Contents]](../image-lib/contents.gif) | ![[Index]](../image-lib/keyword_index.gif) | ![[Next]](../image-lib/next.gif) |