Re: getting an image from gtkdrawingarea
- From: "Michael L. Gualtieri" <mikeg cs pitt edu>
- To: gtk-list gnome org
- Subject: Re: getting an image from gtkdrawingarea
- Date: Sun, 24 Sep 2006 22:59:29 -0400
I'm still stuck on this issue. The previous post was my first to
the list, so if I need to give extra info or add anything to the post
I'd be happy to do so.
On 9/22/06, Michael L. Gualtieri <mikeg cs pitt edu> wrote:
I'm writing an app that has several cairo animations inside
gtkdrawingareas. Unfortunately, everytime the window is covered
and uncovered the expose events show the ugly grey background of the
drawing area instead of my nice cairo surface.
I have noticed that GtkImages expose much quicker than a
GtkDrawingArea. Is there a way to convert the contents of a
gtkdrawingarea to a GtkImage or other type that is easily drawable on
My idea is that I can draw an image of the drawing area while it is
static, and then when I need to animate it, I will replace it back with
the drawing area.
] [Thread Prev