Immediately repair widget damage
int PtFlush( void );
This function ensures that any widget damage is repaired (ignoring container holding), 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.
The new value of the global hold count.
See PtClearWidget().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtContainerHold(), PtContainerRelease(), PtHold(), PtRelease()