[ltk-user] Erasing things ..

Peter Herth herth at peter-herth.de
Tue Jan 5 18:45:20 UTC 2010

Hi Greg,

what you are looking for is itemdelete. You can pass it either an
integer canvas handle
or a canvas item object. There is also the clear method which removes
all items from a
canvas. Though usually I try to reuse canvas items by re- configure -ing.


On Tue, Jan 5, 2010 at 5:58 PM, Greg Bennett <gwbennett at sentex.ca> wrote:
> Good morning and Happy New Year, all.
> I have trolled through ltk.lisp in an attempt
> to discover how to erase things .. lines, rectangles, ovals ..
> drawn by create-line etc..
> I was looking for things like erase-line or delete-rectangle, but
> could not find anything like this. The closest I came to discovering
> this sort of functionality was the destroy facility, which seems to
> destroy widgets. In drawing a shape, however, I may do not usually
> create it explicitly as a widget with an associated symbol to feed to
> destroy;
> must I do this under ltk ?
> More than likely I have simply missed something (sigh).
> Thanks in advance for any help and advice.
> Cheers /Greg Bennett
> _______________________________________________
> ltk-user site list
> ltk-user at common-lisp.net
> http://common-lisp.net/mailman/listinfo/ltk-user

More information about the ltk-user mailing list