[Previous] [Contents] [Index] [Next]

PtRelease()

Decrement the global widget hold count

Synopsis:

int PtRelease( void );

Library:

ph

Description:

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.


Note: This function is the same as PtUpdate().

PtHold() and PtRelease() affect all widgets, while PtContainerHold() and PtContainerRelease(), prevent only child widgets of a container from being repaired.

Returns:

The new value of the global hold count.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtContainerHold(), PtContainerRelease(), PtFlush(), PtHold(), PtUpdate()


[Previous] [Contents] [Index] [Next]