Re: [coredata] populate NSPopupButton with NSAttributedStrings
Re: [coredata] populate NSPopupButton with NSAttributedStrings
- Subject: Re: [coredata] populate NSPopupButton with NSAttributedStrings
- From: "Pierre Chatel" <email@hidden>
- Date: Mon, 9 Jul 2007 16:31:57 +0200
oops, I meant 'cocoa bindings', not 'coreData'.
On 7/9/07, Pierre Chatel <email@hidden> wrote:
So, subclassing NSPopupButton is the way to go in order to add new
bindings to the class. I guess that adding new bindings is a pretty advanced
task for just being able to display Attributed String in a popup button. I
wonder if it would be simpler to just use the old-fashioned controller
approach... but I really wanted to use coreData on this one...
On 7/9/07, Scott Stevenson <email@hidden> wrote:
>
>
> On Jul 8, 2007, at 2:20 PM, Pierre Chatel wrote:
>
> > But, I do want to display attributed strings (with pictures) in the
> > popup button. It seems there is no way to do so with the default
> > bindings provided by NSPopupButton.
>
> You need a custom subclass for that.
>
> - Scott
> _______________________________________________
>
> 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
>
_______________________________________________
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