From: Joel VanderWerf Date: 2009-09-11T02:28:18+09:00 Subject: Re: How to bind canvas events to tags? Josef Wolf wrote: > $canv->bind("foobar", '<1>' => sub { canvas.itembind(tag, '1', '%x %y') do |x, y| In this case, we're binding mouse single click events (I assume that's the same as perl's '<1>') and we're grabbing the pointer location into block args x and y. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407