Re: Filechooser dragging



> unfortunately, in my experience, even though this is actually a URI-
> list-like format, nautilus for one does send a 100% compliant URI-list,
> and admits as much by saying its "text/plain". hence you cannot use the
> handy Glib functions to convert the string to a list of files.
> 
> if your widget is only the dropsite, not a drag source,
> drag_data_received is the only signal you need to handle. you also need
> to set up your potential drag targets to include text/plain.

wow, that really helped! Now I just have to implement mouse dragging
from the widget to the widget differently, but I have an idea for that
already.

Thank you very much Paul!

> 
> there is a reasonably helpful (C) tutorial:
> 
> http://scentric.net/tutorial/sec-dnd.html
> 
> --p
> 
> 
> 




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