Hidetoshi NAGAI <nagai / ai.kyutech.ac.jp> wrote:
> Hi, 
> 
> From: Martin DeMello <martindemello / yahoo.com>
> Subject: ruby/tk - getting started
> Date: Wed, 15 Sep 2004 21:19:56 +0900
> Message-ID: <5pW1d.419414$M95.315449@pd7tw1no>
> > on it; the bit I'm stuck at is getting the x,y coordinates of the
> > mouseclick to be the coordinates on the canvas, rather than on the
> > canvas display viewport. 
> 
> Probably, TkCanvas#canvasx (or canvasy) method satisfies you.

Perfect, thanks!

martin