On Wed, May 6, 2009 at 2:30 PM, Jerry Krinock wrote:
> But then there would have to be another API to give it the items, and
> another to localize the titles. Don't wish for that.
Well, it's still not too bad an idea for me. "optionTitle" is already
localised in my custom object because it comes
On 2009 May 05, at 20:40, Dave Geering wrote:
It'd be nice if I could somehow hook into whatever is responsible for
making the menu . . .
- (void) willAddMenuItem:(NSMenuItem *) aMenuItem
toPopUpButton:(NSPopUpButton *)
forObject:(id) yourObject
{
[aMenuItem setEnabled:[[yourObject valu
On Wed, May 6, 2009 at 12:57 PM, Jerry Krinock wrote:
>
> Bindings are wonderful. I try and use bindings whenever available -- except
> when I'm dealing with menus.
>
> You see from Ken's response that there are things that just don't fit, or if
> they do fit, it might take a long time to figure
Bindings are wonderful. I try and use bindings whenever available --
except when I'm dealing with menus.
You see from Ken's response that there are things that just don't fit,
or if they do fit, it might take a long time to figure out how.
My advice is to not use bindings to create menus
On May 5, 2009, at 8:46 PM, Dave Geering wrote:
I've got a problem when I try to bind the enabled attribute of an
NSPopUpButtonCell.
I have set up an NSArray of custom objects, these custom objects
provide two keys that I want to use for binding (and other keys for
other uses). The two keys are
Hi List,
I've got a problem when I try to bind the enabled attribute of an
NSPopUpButtonCell.
I have set up an NSArray of custom objects, these custom objects
provide two keys that I want to use for binding (and other keys for
other uses). The two keys are "optionTitle" and "optionAllowed". I
hav