Re: Docs or examples: gnomecanvas.CanvasGroup with pygtk?
- From: "Christian Convey" <christian convey gmail com>
- To: gtk-list gnome org
- Subject: Re: Docs or examples: gnomecanvas.CanvasGroup with pygtk?
- Date: Fri, 14 Jul 2006 20:04:08 -0400
Hi Gian,
Thanks for the suggestion. I've found a way to use GnomeCanvas successfully, so I'm going to stick with that for the time being. I have a friend who's said good things about goocanvas, so perhaps they will become the replacement for GnomeCanvas and I'll use it then.
My problem was that I was doing something like the following:
Step 1: create a CanvasItemRect
Step 2: add that CanvasItemRect to a parent group
It turns out this doesn't work, at least with the python gnomecanvas widgets. What *does* work is something like this:
myGroup.add("CanvasItemRect", ...)
I'm not sure why the original approach didn't work, since that appears to work in the C version of GnomeCanvas, but at least for now I have something working which I'd like to stick with.
One thing about cairo: my friend said he's seen pretty bad rendering speed when cairo goes to an X11 window. Have you also found cairo to draw a lot slower than gdk?
Thanks,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]