On Wed, 24 Jan 2001, Martin Preishuber wrote:

> Hi,
> 
> I've some problems with the D&D thingie ... I'm the author of ERoaster,
> a GNOME-frontend for cdrecord & mkisofs. I've D&D support included,
> which works fine for gmc, but not for other file-managers
> (I'm thinking especially of konqueror). The code I use is basically
> 
> targets = [('text/plain', 0, 1),
>            ('text/uri-list', 0, 2)]
> 
> files.connect("drag_data_received", self.DragDataReceive)
> files.drag_dest_set(DEST_DEFAULT_ALL, targets, GDK.ACTION_COPY)
> 
> which is enough for getting the files in self.DragDataReceive
> 
> I tried DEST_DEFAULT_DROP but then I didn't get any response
> (except of one avi file with gmc).

Do you know what types konquerer uses for its drags?  If you don't specify
a type it uses, then the drag will not complete.

Also make sure the app is a Qt >= 2.0 app, as earlier ones didn't use the
XDnD protocol.

James.


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to