Re: Question re configure_event.
- From: Havoc Pennington <hp redhat com>
- To: Colin Thomas <colin designresources co uk>
- Cc: gtk-list gnome org
- Subject: Re: Question re configure_event.
- Date: 04 May 2001 10:57:19 -0400
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]