From: Ignatz Hafflegab Date: 2011-02-26T13:34:34+09:00 Subject: tk canvas drag items Could somebody kindly direct me to a Ruby Tk example of dragging a tagged canvas item using canvas coordinates? There are one or two examples supplied in Ruby 1.8.6 (Probably thanks to Nagai-san) that allow for selecting canvas items and dragging them, but they use the window's coordinates, and I can't figure out how to change the code so it uses canvasx and canvasy. Also, I'd like to know how to query a canvas widget to determine its x or y coordinate. Any help would be much appreciated. -- Posted via http://www.ruby-forum.com/.