Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
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.
![]() |
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
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
