Re: NSPopupButton to display fonts in the fonts themselves
Re: NSPopupButton to display fonts in the fonts themselves
- Subject: Re: NSPopupButton to display fonts in the fonts themselves
- From: Graham Cox <email@hidden>
- Date: Wed, 8 Jul 2009 23:26:18 +1000
On 08/07/2009, at 11:19 PM, Gideon King wrote:
Hi, I'd like to create a popup menu like the one in the Keynote
format bar where it shows the available fonts written in the font
itself (apart from the symbol fonts etc which have their font names
used). I imagine this shouldn't be too difficult using the view menu
items in 10.5 (I've done similar things before), but no use
reinventing the wheel if it's already been done. I had a look around
but couldn't find anything...
Is there some code around that does this?
[NSMenuItem setAttributedTitle:];
--Graham
_______________________________________________
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