Double click action for NSImageView
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