Adding NSButton in NSMenuItem
Adding NSButton in NSMenuItem
- Subject: Adding NSButton in NSMenuItem
- From: Adil Saleem <email@hidden>
- Date: Tue, 14 Jun 2011 06:33:10 -0700 (PDT)
Hi,
I want to add a button in front of Label in every NSMenuItem entry. Is using a custom view the only option or does Cocoa provide some other option as well ?
And if custom view is the way, then how can we detect that button was pressed in which menu item? Because the selector called on press of button will be for button (not menu item), so how can we detect which NSMenuItem was involved in the button click ?
Thank you.
_______________________________________________
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