PtUpdate

Gamma/Photon: Using Gamma™ with the Photon microGUIŽ, Version 4.0
Prev |  | Next

# `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

Prev | Home | Next
`PtUnrealizeWidget` | Up | `PtWidgetChildren`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.