For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > November 2004 > hiding canvas items?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author hiding canvas items?
aeambr_sjp

2004-11-10, 12:51 pm

I draw a large number of items on a canvas, and I am interested in toggling their display. For instance, if I uncheck a checkbox, all items with its tag will disappear, and they will reappear (rather than be redrawn) when I click the checkbutton again. Deletion and redrawing would take up too much time.

I suppose I could make them the same color as my canvas and lower them beneath everything else, but that approach seems particularly inelegant.

Any help in figuring out what I would intuitively expect to work but can't seem to make happen would be much appreciated.

Anthony
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com