Re: Expose event?
- From: Havoc Pennington <hp redhat com>
- To: Carlos Pereira <carlos pehoe civil ist utl pt>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Expose event?
- Date: 10 Dec 2000 15:36:05 -0500
Carlos Pereira <carlos pehoe civil ist utl pt> writes:
-------------
void drawing_area_draw (GtkWidget *drawing_area)
{
GdkRectangle area;
area.x = 0;
area.y = 0;
area.width = drawing_area->allocation.width;
area.height = drawing_area->allocation.height;
gtk_widget_draw (drawing_area, &area);
}
Or just call gtk_widget_queue_draw(drawing_area).
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]