Prevent repairs to a container widget and its children
int PtContainerHold( PtWidget_t *container_widget );
This function prevents repairs to the specified container widget and to all its children. Repairs aren't made until the application makes a corresponding call to PtContainerRelease().
When the widgets are eventually released, they aren't repaired separately. Instead, only the container parent widget is repaired. As a result, the children are all repaired simultaneously.
PtContainerHold() and PtContainerRelease() increment/decrement the flux count for the specified container widget. This count is different from the global hold count, which is used by PtHold() and PtRelease() to hold all widgets. |
The container widget's current hold count.
See PtClearWidget().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtContainerRelease(), PtFlush(), PtHold(), PtRelease()