Using more than one tag in 'find_withtag'...........

Suresh Kumar suresh_vsamy at rediffmail.com
Fri Jun 20 16:33:12 CEST 2003


An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20030620/eee1159c/attachment.html>
-------------- next part --------------
Hi,

   Is it possible to use more than one 'tag' value in 'find_withtag' option of Tkinter canvas? i have drawn some rectangles and ovals on canvas and assigened two tag  values for each item. The first tag value is common for all items that belongs to a category (say "rectangle" for all rectangle and "ovals" for oval). The second tag is unique to each item ( iam using name of item as 2nd tag). Now how can i get an item of particular type, say "rectangle named MyRect"? How pass these two tag values to 'find_withtag' or is there any alternative?


More information about the Python-list mailing list