Immediately repair widget damage
int PtFlush( void );
ph
This function ensures that any widget damage is repaired, and then calls PgFlush() to flush buffered draw commands from your application to the graphics driver.
You'll need to call this function explicitly if you're drawing somewhere “outside” the standard Photon event loop (for example, in an input procedure) or if you want changes to the widgets to be made immediately.
PtFlush() ignores and doesn't affect the application's hold count. For more information, see “Delaying and forcing updates to the display” in the Working with Code chapter of the Photon Programmer's Guide. |
The new value of the global hold count.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PgFlush(), PtHold(), PtRelease()
“Delaying and forcing updates to the display” in the Working with Code chapter of the Photon Programmer's Guide