[Tutor] Newbie struggling with Tkinter/canvas tags

Kent Johnson kent37 at tds.net
Mon Jan 31 22:07:04 CET 2005


Danny Yoo wrote:
> 
>>Now I've just got to work out how to tag a list of id's...  There
>>doesn't seem to be a way to tag a known id, it has to be tagged by
>>reference from an id above or below which seems odd!
> 
> 
> Hi Glen,
> 
> Have you tried the addtag_withtag() method?  It looks like it should be
> able to do what you're thinking of.  The documentation here:
> 
>     http://tkinter.unpythonic.net/pydoc/Tkinter.Canvas.html
> 
> should talk about addtag_withtag().

itemconfig() also looks promising.

http://www.pythonware.com/library/tkinter/introduction/x2017-concepts.htm

Kent



More information about the Tutor mailing list