how do I get rid of the flickering?

I have a PtLabel that shows a small textstring.
But when i update the string , the widget flickers.
How do I get rid of this?

Mikael Rickan <mikael.rickan@semcon.se> wrote:

I have a PtLabel that shows a small textstring.
But when i update the string , the widget flickers.
How do I get rid of this?

The widget flickers due to the redraw. In order to eliminate the
flicker, but the label into a PtOSContainer. This widget uses
offscreen video memory to double-buffer the drawing, reducing
flicker significantly.

Unfortunately the PtOsContainer is undocumented.
Can you direct us towards some information on how to
use it?

Michel Benoit <michel.benoit@saabcom.se> wrote:

Unfortunately the PtOsContainer is undocumented.
Can you direct us towards some information on how to
use it?

If it wasn’t documented then it’s probably because it doesn’t work quite right. Patch A should have all it’s issues resolved, a PhAB widget palette entry, and proper documentation in the Widget Reference.


Dave Rempel