Hi all,
I am having trouble understanding gtk3/gdk/cairo interaction and thus
developing a usable model for some large drawing applications I am porting
from X11. I am currently working mostly on CentOS 6 with self-installed
gtk3 3.4.0, gdk-pixbuf-2.26.0 and cairo 1.12.0 packages. Obviously I
Hi Roger,
You should do all drawing in the expose handler and nowhere else.
Don't do any direct drawing in your data hander, instead update your
model and queue an expose event.
On 7 April 2012 02:16, Roger Davis wrote:
> presumably this includes the GtkDrawingArea widget as well. If there is
>
In Gtk3, "draw" is used instead of the expose signal and gives you a cairo
context (at least for external api users). This document may
also answer some of the questions:
http://developer.gnome.org/gtk3/3.4/chap-drawing-model.html
I wouldn't expect being able to use the cairo context you are passe
Hi John,
Thanks for your thoughts as always. I think there may be some significant
differences between gtk2 and gtk3 on these points, although this guess is
based almost exclusively on reading documentation at this point as opposed
to actual experience, of which I have about zero. Given the m
Hi Simon,
Thanks for your thoughts, I read them after responding to John. Sounds
like my wild guesses about the differences between gtk2 and gtk3 here are
not too horribly wrong. I will read the docs you pointed to and take a
look at the Clutter stuff, after I get some time to do the required