Re: Handling Dragged Urls
Re: Handling Dragged Urls
- Subject: Re: Handling Dragged Urls
- From: Scott Anguish <email@hidden>
- Date: Fri, 8 Jun 2001 19:20:05 -0400
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)