Re: [Gtk-osx-users] drag from FileChooser to Dock panel applications (or Finder)



On 11.05.2010, at 16:07, John Ralls wrote:

> Strange, though, that it works with Safari and not with iTunes.

For historical reasons there are several ways to represent files during drag'n'drop. Safari accepts most of them, iTunes does not. The only one hard-coded in gtkquartz.c is NSURLPboardType, but you want NSFilenamesPboardType.

BTW there are several types for URL as well. Dragging from Safari prepares no less than four.

PS http://developer.apple.com/mac/library/samplecode/PasteboardPeeker



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