PtUpdate

PtUpdate — decrements the global hold count for widget repair.

Syntax

PtUpdate ()

		

Arguments

none

Returns

The current hold count if successful, otherwise nil.

Description

This function decrements the global hold count. When this count reaches 0, all widget damage is repaired and all widget visibility flags (such as Pt_OBSCURED and Pt_CLEAR) are updated. This function differs from PtRelease, which decrements the global widget hold count.

See Also

PtHold, PtRelease

and in Photon documentation: PtUpdate