Get NSPopUpButton from NSMenuItem
Get NSPopUpButton from NSMenuItem
- Subject: Get NSPopUpButton from NSMenuItem
- From: Siegfried <email@hidden>
- Date: Thu, 09 Jun 2011 15:43:26 -0300
Does anyone know if there is a way to get a pointer for the NSPopUpButton containing a NSMenu containing a NSMenuItem, which is the IBAction sender?
I have multiple similar popups, and all of them have a "Custom…" menu item, designated to hiding the popup and bringing more controls to the user. It would be nice to avoid extra methods for each item.
I could not find a clue in the docs, so any help is really appreciated.
Thanks!_______________________________________________
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