Re: Clear A Pixmap
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-app-devel-list gnome org
- Subject: Re: Clear A Pixmap
- Date: Fri, 1 Jun 2007 00:54:40 +0200
On Thu, May 31, 2007 at 03:35:07PM -0700, nahuel9728 wrote:
I explain my thing... I have a pixmap, a drawing area.
There are events that draw on it. But i have a button that must clear, erase
all the painted on the drawing area.
Any idea how to make it happen????
Make the drawing area repaint (e.g. with gtk_widget_queue_draw())
and just do not draw anything there in the "expose-event"
handler this time.
Yeti
--
http://gwyddion.net/
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]