Re: Handling Dragged Urls
Re: Handling Dragged Urls
- Subject: Re: Handling Dragged Urls
- From: Jay Timmer <email@hidden>
- Date: Sat, 09 Jun 2001 09:05:04 -0400
Apple used to have an unsupported utility called "Dragpeek" that let you see
all the data types that were available (and what they contained) when an
object was dragged into its window. Does anything similar exist for OS-X?
JT
>
On Friday, June 8, 2001, at 04:53 PM, Steve Ivy wrote:
>
>
> Newbie in Drag(ging) here...
>
>
>
> I want to be able to handle dragged urls (not just text, but the little
>
> lightning thingy) from OmniWeb. Where would be the best place to start
>
> looking? I'm getting into the dragging APIs, but I don't know what
>
> types to register for, pasteboards to be looking at, or anything like
>
> that. I'm working in Cocoa/Java, if that makes any difference (I hope
>
> not!)
>
>
>
>
In Mac OS X they appear to be normal NSPasteboard Strings.
>
>
The dragging article in the HTMLEditor series (while not updated
>
for OS X) should give you the info you need.. it supports the old
>
OpenStep Omniweb format, and it should be adaptable to your own view.
>
>
the standard textview allows for this automatically now (because
>
they are just text)