Allow drag and drop on image

svn: r23450
This commit is contained in:
Doug Blank authored and John Ralls committed 2013-11-07 11:25:44 -08:00
1 parent 31a3f074f1
commit 3f36cc9cdc
1 file changed
+6
+6
View File
@@ -405,6 +405,12 @@ class SelectionWidget(Gtk.ScrolledWindow):
self.selection = None
self.image.queue_draw()
def find_region(self, x ,y):
"""
Given screen coordinates, find where that point is in the image.
"""
return self._find_region(*self._screen_to_image((x, y)))
# ======================================================
# thumbnails
# ======================================================