Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 8

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 111

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptendflux.html on line 111