Re: Gtk will temporarily unset my backing pixmap for a GtkDrawingArea when it is packed into a GtkScrolledWindow, is this a necessary behavior?



You have to draw to the GtkDrawingArea when it gets an
expose event. There is no way around that.

Noah

On Fri, Apr 09, 2004 at 15:14:05 +0800, Yueh-Wei Hu wrote:
> I have posted a message about using GdkDrawingArea with backing pixmap
> to gtk-app-devel-list mailing list yesterday.
> 
> After tracing into gtk and gdk for several hours, I think I find where
> the problem is.
> However, I don't know whether this problem is an undocumented feature or
> a bug in gtk.
> 
> My attempt is to redraw parts of the contents of the GtkDrawingArea
> without using an expose_event signal handler.
> That is to say, I want the X Window System to recover the old contents
> of the GtkDrawingArea by using the backing pixmap.
> Because I want to acquire the max preformance without causing a round
> trip between the X Window Server and my own program.
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]