Drag-n-Drop behaviour when draging from OpenOffice
- From: Nick Belshaw <nick s belshaw googlemail com>
- To: gtk-app-devel-list gnome org
- Subject: Drag-n-Drop behaviour when draging from OpenOffice
- Date: Fri, 18 Mar 2011 14:08:35 +0000
Very grateful for any pointers.
I have working code - using PyGtk on Linux - all very nice...
but something I am trying to do is not quite right.
Dragging a text block from an app - word or spreadsheet - onto a
The dragndrop works -ish.
If I drag a file or some text from e.g. Gedit I get a cursor indication(+)
am over the DrawingArea and if I am using drag-motion (which I want to)
I get callbacks for all motion over the DrawingArea.
If I drag something from e.g. OpenOffice, the drag cursor is a
warning/forbidden icon and I only get a single motion-cb on entering the
DrawingArea and no more events. The drop seems to work ok though.
but I do want the motion-cb functionality so I can control actions by
determining the drop location.
Am I missing a datatype here - I don't know what types are valid though
I have tried to include as many types as I can in my datatype list.
] [Thread Prev