• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Handling Dragged Urls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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)


  • Follow-Ups:
    • Re: Handling Dragged Urls
      • From: Jay Timmer <email@hidden>
References: 
 >Handling Dragged Urls (From: Steve Ivy <email@hidden>)

  • Prev by Date: Visualizing Cocoa
  • Next by Date: RE: OpenGL Examples in Cocoa
  • Previous by thread: Re: Handling Dragged Urls
  • Next by thread: Re: Handling Dragged Urls
  • Index(es):
    • Date
    • Thread