Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed
- From: "Jasper St. Pierre" <jstpierre mecheye net>
- To: Krzysztof Kosiński <tweenk pl gmail com>
- Cc: gtk-devel-list <gtk-devel-list gnome org>
- Subject: Re: Heads-up: Potentially breaking changes to the GDK drawing model pushed
- Date: Mon, 23 Jun 2014 22:02:40 -0400
You can draw to a pixbuf or cairo image surface from another thread or in an idle handler, and then paint it to your window in the draw handler. That's probably the best idea, actually. This is what things like the new GtkListBox do -- cache the pixels in a pixel cache, and use that to draw to your window, synchronized with the paint clock.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]