Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtEndFlux()

Decrement the flux count for a container

Synopsis:

int PtEndFlux( PtWidget_t *container );

Library:

ph

Description:

This function decrements the given container's flux count. If the container's flux count is 0 or becomes 0 due to the decrement, the container and its children can be repaired.

Returns:

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


Note: When the flux count goes to 0, you must manually call PtDamageExtent() and/or PtDamageWidget() to damage any widgets or areas that you want to be repaired.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDamageExtent(), PtDamageWidget(), PtIsFluxing(), PtStartFlux()

"Delaying and forcing updates to the display" in the Working with Code chapter of the Photon Programmer's Guide