Re: drawing area widget repainting
- From: Havoc Pennington <hp redhat com>
- To: lost <lost paradise net nz>
- Cc: GTK mailing list <gtk-app-devel-list gnome org>
- Subject: Re: drawing area widget repainting
- Date: 29 Dec 2001 12:39:37 -0500
lost <lost paradise net nz> writes:
How do I force a drawing area widget to redraw a sub-section of itself
and clear the area to the default background colour at the same time?
there is:
gtk_widget_queue_draw_area();
which forces the redraw, but dosn't clear the exposed area first
In GTK 2 (1.3.x for now) it does do this, as an aside.
At present, I'm clearing the area by drawing a filled rectangle over it
in the same colour as the default background, but I'd like to find the
proper method
gdk_window_clear_area() is one approach, anyway.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]