I am using a PtDBContainer to avoid flickering, but it still flickers.
First I create my PtDBContainer and then I use it when I create my main window:
myContainer = PtCreateWidget(PtDBContainer, NULL, sizeof(containerArgs)/sizeof(PtArg_t), containerArgs );
myWindow = PtCreateWidget( PtWindow, myContainer, sizeof(winArgs)/sizeof(PtArg_t), winArgs );
The next step is to realize my container:
Anyone who see some obvious mistake I have made this far or have any suggestions on how to avoid flickering? Maybe there is another good approach?
Every help is welcome