Re: [Gtk-osx-users] drag from FileChooser to Dock panel applications (or Finder)
- From: Tobias Weber <towb celvina de>
- To: GTK+-2 OSX Users <gtk-osx-users lists sourceforge net>
- Subject: Re: [Gtk-osx-users] drag from FileChooser to Dock panel applications (or Finder)
- Date: Tue, 11 May 2010 16:32:29 +0200
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]