> Under Linux, the app supports dragging and dropping of certain audio files > (for example, WAV files). So, using Nautilus, the user can select a WAV file > and drop it into one of several containers within the app. The WAV file is > then effectively imported for use in the app.
That kind of drag-and-drop, dragging files from Windows Explorer and dropping on a GTK+ application, *does* work fine on Windows. It's generic inter-application drag-and-drop that is not implemented. It should work fine to just use the same code as for X11 in the application. (Support for file dnd from Explorer is handled with a different, much older and simpler, API than what generic drag-and-drop would require.) > My understanding of drag'n'drop within gtk is quite limited but it seems to > work by using an object of type gtk_selection_data. So if I run my app under > Windows and I drag a WAV file into the app from Windows Explorer, the code > fails. > Obviously, Windows Explorer has no knowledge of gtk_selection_data objects so > for this to work, Well, gtk_selection_data is just an API detail in GTK+; it has little to do with the actual windowing system (X11 or Windows) concepts. The window manager on X11, or the X server, has no knowledge of gtk_anything either. > Before I spend too much time tracking down the problem, Do you actually have a problem? Have you tested dragging-and-dropping files from Explorer? --tml _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list