Allow drag and drop on image
svn: r23450
This commit is contained in:
parent
31a3f074f1
commit
3f36cc9cdc
@ -405,6 +405,12 @@ class SelectionWidget(Gtk.ScrolledWindow):
|
|||||||
self.selection = None
|
self.selection = None
|
||||||
self.image.queue_draw()
|
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
|
# thumbnails
|
||||||
# ======================================================
|
# ======================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user