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

PtEndFlux()

Decrement the global and container flux count

Synopsis:

int PtEndFlux( PtWidget_t *container );

Description:

This function decrements the global flux count as well as the container's flux count. If the container's flux count is 0 or becomes 0 due to the decrement, the container's extent is added to the container's damaged_visibility list. All widgets under this rectangle will recalculate their visibility flags, widget->flags (Pt_CLEAR and/or Pt_OBSCURED). This doesn't cause the widgets within the container to redraw.


Note: This function is a milder form of PtContainerRelease(), which forces the redraw of all the widget's in a container.

Any widgets or area that should be repaired must be damaged manually after the flux count goes to 0.

Returns:

0
Successful completion.
-1
An error occurred.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtStartFlux(), PtHold(), PtRelease(), PtContainerHold(), PtContainerRelease(), PtDamageExtent(), PtDamageWidget()


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