RE: Monitoring a menu item's enabled state
RE: Monitoring a menu item's enabled state
- Subject: RE: Monitoring a menu item's enabled state
- From: Kieren Eaton <email@hidden>
- Date: Tue, 16 Dec 2008 07:41:03 +0900
I can successfully observe a menu item's selection. But is there a
way to monitor a menu item's enabled state?
In my experience you can use a Boolean ivar and bind that to the
enabled state of the menuitem with an NSNegateBoolean as the
transformer in the bindings options of IB.
This Bool will then be avail to any other menu items that you may
want so dis/enable together.
From the sounds of it you are looking at the MenuItem from the users
end not the controllers end.
HTH
Kieren
Olearia - Bringing Talking Books to Mac OS X
http://olearia.googlecode.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden