tagOrId in Canvas class

Neal Norwitz neal at metaslash.com
Mon Dec 9 17:42:21 EST 2002


On Mon, 09 Dec 2002 12:30:33 -0500, John Smith wrote:

> Can anyone steer me to a reference on "tagOrId" in the canvas class?  It
> is a way of referencing objects (i.e. line, arc, circle) on a canvas.  I
> understand I can use it to select and manipulate canvas objects.  For
> example, you can say, give me all the tags for items with the following
> tagOrId, or you can ask for the type of object that has a specific
> tagOrId.
> 
> Does tagOrId stand for "tag or Id" where Id stands for item handle?

Yes, I believe this is correct.  It's been a while, though.

You can pass a tag which applies to one or more objects on the canvas.  
Or you can pass an id which applies to a specific instance of an item.

Neal



More information about the Python-list mailing list