[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: erasing (cleaning) drawing area
- From: Dan Rosen <dr cs brown edu>
- To: lista de discussao de aplicações em gtk <gtk-app-devel-list redhat com>
- Subject: Re: erasing (cleaning) drawing area
- Date: Fri, 25 Jun 1999 13:52:15 -0400 (EDT)
Since a drawing area is nothing more than an X window (which you have to
manage yourself), you need to write your own clear function. This will
probably just mean something like:
define a gdk_rectangle the size of the drawing area
draw it onto the backing pixmap in white
copy the backing pixmap to the canvas
If you copied the "scribble" example, you should be able to steal all of
the code you'll need from the configure_event and exposure_event code.
Dan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]