in reply to Perl/Tk canvas clearing

Try the method delete from The fine manual. The tag all will allow you to delete all items, or you can delete selectively by item ids (or by other tags).

In short, $mainarea->delete('all') should delete all items on the canvas.

Replies are listed 'Best First'.
Re: Re: Perl/Tk canvas clearing
by Kickstart (Pilgrim) on Dec 02, 2001 at 22:37 UTC
    Thanks, I got the impression from other docs that this would actually kill the canvas itself. I'll give it a try! Kickstart