RE: Signal when window is shown



>You need to do your drawing in the expose handler. All drawing comes after
>the window has been mapped to the screen.

>when i tried the expose_event the program occurs segmentation fault when it tries >to paint...

ups.. sorry, my mistake, it doesn't crash anymore, but it stell doesn't paint... the window is all grey like if it was a new window with nothing in...

Afonso



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]