collective behavior of canvas in Tkinter
Grayson, John
John.Grayson at GD-CS.COM
Wed Mar 1 06:33:12 EST 2000
Canvas operations are usually facilitated by using tags.
Give each of the canvas items in a collection the same
tag. Then:
base.move(item, stepx, stepy)
becomes:
base.move(tag, stepx, stepy)
since the first argument on the move method is tagOrID.
<(©¿©)>John Grayson
========================
General Dynamics
Communications Systems
400 John Quincy Adams Road,
Taunton, MA 02780-1069
More information about the Python-list
mailing list