Re: Question re configure_event.



Colin Thomas <colin designresources co uk> writes: 
> Now I need to write to one of the drawing areas BEFORE the window has ever been
> displayed, and had a configure_event.
> 

Assuming you could do this, it would be a no-op; X/GTK does not "remember"
the contents of the drawing area. Only the visible contents
remain. Anytime a part of a window becomes hidden, its contents are
forgotten; and you have to redraw those contents when the window is
reexposed (that is, when you get an expose_event signal).

If you haven't read the "scribble" example in the GTK tutorial, it's a
good starting point.

Havoc




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