[Gtk-sharp-list] Drag and drop path

Federico Mena Quintero federico@ximian.com
Mon, 06 Dec 2004 19:53:19 -0600

On Tue, 2004-11-30 at 17:20 +0100, Christian Rudh wrote:
> Thanks for the help, I'll check it out tonight!
> But it seems strange to me that a simple GTK application would require
> gnomevfs to be able to use it's drag and drop URI:s? Not that it
> matters, I was planning on looking at gnomevfs anyway :-)

There's g_filename_from_uri() in glib.

For drag-and-drop, though, you really want a function that decodes the
text/uri-list selection data.  There's gtk_selection_data_get_uris() in
GTK+ 2.6 --- you may want to steal the code from there in the meantime.