collective behaviour of canvas in Tkinter

T.Rafie at ALCATEL.de T.Rafie at ALCATEL.de
Wed Mar 1 03:47:24 EST 2000


If one wants to move a single canvas item, say item, on a base canvas
base one can move it
using  base.move(item, stepx, stepy) . I  want to shift a collection of
items  (item1,item2,...) by
the same amount (stepx,stepy). The only solution i found was using a
loop over all items
(or alternatively use  map one time).  But it became very slow for a
large collection - a few thousend.
Is there a possibility to bind them together, acting as a collective (as
one could imagine that
all letters in a text-canvas-item are bound together and the text-canvas
can be moved as
one picture)?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000301/646f82bc/attachment.html>


More information about the Python-list mailing list