Re: Nautilus as a drop target



Hi,

On Tue, 2010-02-16 at 11:17 -0500, Damien Moore wrote:
> Hi List,
> 
> This is going to sound like naive, but I'm trying to figure out how I
> to support the dragging of images from my photo manager application
> (written in pygtk) to nautilus and have the selected image files
> copied to the destination. I've tried using the gtk+ DND methods, but
> am either doing something wrong (e.g. incorrectly setting the
> SelectionData object and/or DragContext object) or this isn't the
> right way to do it. 
> 
> If someone can point me to some example pygtk code that does more or
> less what I want, that would be ideal (I imagine this has been done
> before). Otherwise, just some pointers on where to look/what to read
> would be great. In part, I'm just a little confused by all of the
> acronyms and specs: gtk+ DND, xDND, XDS etc... If there isn't anything
> ready made for me to look at I can show some code

You want to implement XDS.
See this bug: https://bugzilla.gnome.org/show_bug.cgi?id=171655

	Xav



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]