Menu Item Bindings Problem
Menu Item Bindings Problem
- Subject: Menu Item Bindings Problem
- From: Chris Outwin <email@hidden>
- Date: Sat, 25 Feb 2006 20:57:26 -0600
I am having trouble changing a menu item from IBAction to Bindings.
The purpose of the menu item is to show/hide a NSPanel. The menu
item should change its title accordingly. My bindings code correctly
displays the initial menu item title, but the menu item is grayed-out.
Apple's Enabling Menu Items docs says, "NSMenu searches the
appropriate objects to find one that responds to the menu item’s
action method. If it can’t find such an object, it disables the menu
item." My object doesn't have an IBAction method, since I'm using
bindings.
I can't find any examples of using bindings with main menu items.
Could someone please point me to documentation that would help.
Thank you. _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden