June 2002
Beginner
759 pages
80h 42m
English
Each item in a Canvas widget is given a unique ID when
it is created. This ID is returned from the canvas creation command.
In addition, each item can have a tag associated with it, either
when created or with the addtag
method. You can use either the ID or the tag to refer to an item in
the canvas. Unlike IDs, tags do not have to be unique, which makes
it possible to configure several items as a group.
Two special tags are created automatically. The "all" tag refers to all items in the
canvas. The "current" tag refers
to the item that the cursor is currently over, if any.