• 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: Filename from ImageView/Image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filename from ImageView/Image?


  • Subject: Re: Filename from ImageView/Image?
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 30 Nov 2001 18:36:25 -0800

Have a look at my code for "JCRDragWells". You can find it at
stepwise, in the softrak directory.

As for subclassing NSImageView, why not? It's simple enough to do.

-jcr

On Friday, November 30, 2001, at 06:00 PM, Richard Adams wrote:

> I have an ImageWell UI element that users can drag an
> image file onto. This works well and the image shows
> up in the well.
>
> I'd like to be able to extract the file reference
> (path) that the user tossed in there so I can remember
> it for later.
>
> I don't see a way to ask either imageView or image for
> the original filename (or URL) that it's using.
>
> I looked into intercepting the drag information as the
> user drops on the image well, but although I could get
> the correct info in the concludeDragOperation: method,
> there doesn't seem to be a way to set one of my
> objects up as a delegate of the drag.
>
> I'd like to avoid subclassing imageView.
>
> Does anyone have any pointers on how to make this
> work?
>
> Richard
> Buy the perfect holiday gifts at Yahoo! Shopping.
> http://shopping.yahoo.com
> _______________________________________________
> cocoa-dev mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
>
"Bill Gates is just a white Persian cat and a Monocle away from
being the villain in a James Bond flick" - Dennis Miller


  • Follow-Ups:
    • Re: Filename from ImageView/Image?
      • From: Richard Adams <email@hidden>
References: 
 >Filename from ImageView/Image? (From: Richard Adams <email@hidden>)

  • Prev by Date: Filename from ImageView/Image?
  • Next by Date: Automated user-interaction regression testing tools?
  • Previous by thread: Filename from ImageView/Image?
  • Next by thread: Re: Filename from ImageView/Image?
  • Index(es):
    • Date
    • Thread