Decrement the global hold count
int PtUpdate( void );
ph
This function decrements the global widget hold count, which was previously incremented by a call to PtHold(). When the count reaches 0, the widgets are repaired.
| This function is the same as PtRelease(). |
PtHold() and PtRelease() affect all widgets, while PtContainerHold() and PtContainerRelease(), prevent only child widgets of a container from being repaired.
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()