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/ptbkgdhandlerprocess.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/ptbkgdhandlerprocess.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/ptbkgdhandlerprocess.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/ptbkgdhandlerprocess.html on line 8
Process all outstanding Photon events
void PtBkgdHandlerProcess( void );
ph
This function processes all outstanding Photon events, calling
PtProcessEvent() for each
event. You should call this routine periodically during a costly or complex
processing loop when you won't be giving control to the widget library.
This gives the widget library an opportunity to redraw widgets that have
been damaged or exposed if, for example, the user drags a window around.
|
It's safe to call PtBkgdHandlerProcess() in callbacks, work
procedures, and input procedures, but
not in a widget's Draw method or a PtRaw widget's
drawing function. |
{
int done = 0;
while ( !done )
{
/* Handle all pending Photon events */
PtBkgdHandlerProcess( );
/* Do some work, setting done if finished */
}
}
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
Parallel Operations
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/ptbkgdhandlerprocess.html on line 114
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/ptbkgdhandlerprocess.html on line 114