Re: Contextual menu for NSTableCellView in NSOutlineView
Re: Contextual menu for NSTableCellView in NSOutlineView
- Subject: Re: Contextual menu for NSTableCellView in NSOutlineView
- From: Ken Thomases <email@hidden>
- Date: Wed, 10 Feb 2016 16:42:20 -0600
On Feb 10, 2016, at 4:26 PM, Konidaris Christos <email@hidden> wrote:
>
> Thanks for the insight Ken. I’ll try setting the menu manually tomorrow (it’s half past midnight here) and let you know. But shouldn’t the -menuForEvent:(NSEvent *)event for my NSTableCellView subclass work instead ?
Well, the -rightMouseDown: ought to go up the responder chain. Do you implement that on any of your view classes? Also, does a Control-click behave differently than a right-click?
Regards,
Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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