FIXED: Support for drag and drop from main GUI window to Figure
commit35ea50a70f6a46eaef1e20dadb1fe5c4b52418be
authorArnaud Gardelein <agardelein@yahoo.fr>
Sun, 1 Jan 2012 21:31:01 +0000 (1 22:31 +0100)
committerArnaud Gardelein <agardelein@yahoo.fr>
Sun, 1 Jan 2012 21:31:01 +0000 (1 22:31 +0100)
treef493d74141c51c794cc7b0214ea1614e35eca36c
parent362f43c6f0c9c85c8bb99140abfe3a08649d9b1c
FIXED: Support for drag and drop from main GUI window to Figure

It is not _that_ trivial to keep the selection when user start to drag. The default handler reset the selection when button 1 is pressed. So we use our own handler to store the selection until drag is recognized. The user will see diseappear the selection but it is still there for the DnD.
oscopy/gtk_figure.py
oscopy/ui.py