From: Martin DeMello Date: 2004-09-16T14:54:48+09:00 Subject: Re: ruby/tk - getting started Hidetoshi NAGAI wrote: > Hi, > > From: Martin DeMello > 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