i have a very hard problem with a drawing area and i couldn't find a solution for that problem.
I created 2 (dialog) windows.
The first one contains a drawing area. Inside of the drawing area i want to draw some circles. This circles are showing the state of some lamps (light on=red filled circle, or light off=black filled circle).
The state of the lamps should be updated every 100ms.
The second window contains some dialog items like buttons, sliders and so on for configuration.
I'm calling the function:
inside of the expose event function i'm drawing the images with:
if( light == ON )
this works fine, but after some minutes the drawed circles and the dialog items (buttons a.s.o.) disapears. So i have 2 Windows containing nothing.
Is there anybody who can help me?