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

PtStartFlux()

Increment the global and container flux count

Synopsis:

int PtStartFlux( PtWidget_t *container );

Description:

This function increments the global flux count as well as the container's flux count. If either flux count is > 0, no internal damage is recorded for any widgets under any circumstances.

This function is especially useful for reducing flicker when many changes are being made to overlapping widgets.

Returns:

The container's new flux count, or -1 if an error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtEndFlux(), PtHold(), PtRelease(), PtContainerHold(), PtContainerRelease()


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