Remove canvas shapes by tag?

Ryan pixeloutlaw at gmail.com
Tue Oct 11 03:47:39 UTC 2016


Hello all, new to the list (hopefully this has not been asked)
I've created a global canvas called *main-canvas* and have attached a 
few shapes to it.
(create-line* *main-canvas*  `(,x ,y ,x2 ,y2) :tags "line")

Am I specifying the tag correctly for the new line instance or does it 
need to be in a list?
Also, how would I tell a canvas to remove all and only items with the 
"line" tag attached?


Sincerely,
Ryan



More information about the ltk-user mailing list