• 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
Double click action for NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Double click action for NSImageView


  • Subject: Double click action for NSImageView
  • From: Allan Rentcome <email@hidden>
  • Date: Sun, 11 Mar 2007 14:11:58 -0500

Hi all:

My application shows a small image on my user interface representing the image of a product. I am displaying the image using NSImageView. Previously I was displaying the image in a cell of my NSTableView and allowed the user to change the image by double clicking on the cell. I handled this by setting a selector in the setDoubleAction method of NSTableView. I would like to be able to have a similar double click action when somebody double clicks on my NSImageView.

How would I best handle a double click event on an NSImageView?

Thanks

Allan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Double click action for NSImageView
      • From: Brian Ganninger <email@hidden>
  • Prev by Date: Re: Need help with setNeedsDisplay - Another Update
  • Next by Date: Re: Need help with setNeedsDisplay - Another Update
  • Previous by thread: Ironcoder V
  • Next by thread: Re: Double click action for NSImageView
  • Index(es):
    • Date
    • Thread