Re: How to refresh a drawing area widget
- From: "Rick L. Vinyard, Jr." <vinyard zianet com>
- To: anil iiit net
- Cc: gtk-list gnome org
- Subject: Re: How to refresh a drawing area widget
- Date: Thu, 17 Aug 2000 12:07:26 -0600
anil@iiit.net wrote:
>
> Changing the pictures on a drawing area widget leaves the traces
> of the pictures which are bigger than the new ones
>
There isn't any buffering of the image done. You'll have to capture the
expose event and repaint it yourself. You can use a pixmap to act as
your 'canvas', which the drawing area then displays. IIRC there is a
scribble example that does this.
Alternatively there is a more complete canvas widget in Gnome.
--
Rick L. Vinyard, Jr.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]