Re: Contextual menus : better idea?
Re: Contextual menus : better idea?
- Subject: Re: Contextual menus : better idea?
- From: Scott Stevenson <email@hidden>
- Date: Mon, 11 Dec 2006 02:17:03 -0800
On Dec 6, 2006, at 1:19 AM, Stephane wrote:
My current implementation is not too bad. I subclassed NSTableView
and changed - (NSMenu*) menuForEvent: (NSEvent*)event; so that it
can requests the NSMenu from its delegate. This lets me return a
specific menu for one item.
Question:
Is there a more "official" way of doing this?
Nope, that's fine.
I assume you're using -rowAtPoint: to do this.
- Scott
_______________________________________________
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