Hiding/showing Tkinter.Canvas items

Marc Boeren M.Boeren at guidance.nl
Wed Feb 18 08:39:09 EST 2004


> Before I start moving them into dark corners of the canvas - 
> is there a way to hide/show Tkinter canvas items without
> having to maintain their original position externally?

For tagged items on the canvas:

mycanvas.itemconfigure("highlight", state='hidden')
mycanvas.itemconfigure("highlight", state='normal')

Cheerio, Marc.




More information about the Python-list mailing list