[pygtk] problem with moving too many gtk.Images inside a gtk.Layout

Gian Mario Tagliaretti gianmt at gnome.org
Tue Aug 7 04:19:59 WST 2007


2007/8/6, Victor Matheus <victormatheus a gmail.com>:

Hi Victor,

> hello, i'm trying to make a simple canvas, where i can move images by
> dragging them with the mouse, i don't want to use the drag'n'drop functions
> because i want to know when there were collisions between the images

did you think about using a real canvas, you can easily move the items
on the canvas and perform hit testing.

If you are willing to try a canvas I would suggest goocanvas, it comes
with quite a lot of examples and a complete reference.

cheers
-- 
Gian Mario Tagliaretti


More information about the pygtk mailing list