Hi there,

I'm experiencing some mysterious behavior of GnomeCanvasGroup. When I
try to move it at one point, it works; all sub-items move as well,
as expected and desired.

I then connect up the Group with an eventhandler method on an object, like:

  group.connect("event", self.on_event)

When I try to move it from (something called by) on_event, only one
sub-item moves (the first added, it seems), *within* the group, being
clipped by the group. The first subitem added is a 'rect' or 'ellipse' object;
the second is a text item.

It's the same GnomeCanvasGroup object, I've used group.set(x=0, y=0) outside
the event handler and inside it, but the difference persists. I've tried
passing the object I'm calling the method on by hand, I've tried going
through _gnomeui instead of the wrapper, but the strange behavior persists.

I'm using GTK 1.2.10, PyGTK 0.6.7 and PyGnome 1.4.0, part of Ximian Gnome
1.4 on a Red Hat 6.1 box. I've seen the same behavior on a Ximian-less
Debian machine ('testing' (Woody) distribution) as well.

Till I figure out what's going on, I guess I'm stuck with moving all the
objects myself instead of putting them in a GnomeCanvasGroup.

Perhaps it's a GnomeCanvas bug and not a PyGnome bug? I did a few
web and mailing list searches but couldn't find any references to this.

Regards,

Martijn

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to