Re: Getting color attribute from NSFontPanel/NSFontManager
Re: Getting color attribute from NSFontPanel/NSFontManager
- Subject: Re: Getting color attribute from NSFontPanel/NSFontManager
- From: Felix Franz <email@hidden>
- Date: Mon, 18 Dec 2006 11:52:43 +0100
On Dec 18, 2006, at 7:28 AM, Vinay Prabhu wrote:
The same way, How do I get the ForeGround Color, UnderLine and
StrikeThrough
attributes from Font Panel,
In order to apply these attributes to NSAttributedString?
After changing those attributes font panel tries to invoke the
changeAttributes:
method on the responder chain. (The AppKit Release notes mentions
this behavior
under "Font Effects Color Changes (Section added since WWDC)").
In this method you can use the usual "sender convertAttributes:" to
adjust your
attributes.
Hope this helps,
felix
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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