Re: Problems using/understanding drag-and-drop.



sledge hammer wrote:
In my app I want the user to drag-n-drop files from nautilus, then the application should open them. I am 
using as Targets:
1. STRING
2. text/plain

You probably want to also (or maybe instead) handle text/uri-list.

2. spaces in the filename are represented as "%20"

They're URI-encoded, so you'll need to decode such sequences.

        -brian



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