• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Retrieving the text color from NSFontPanel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retrieving the text color from NSFontPanel


  • Subject: Re: Retrieving the text color from NSFontPanel
  • From: Aki Inoue <email@hidden>
  • Date: Mon, 11 Jun 2007 08:55:38 -0700

Vinay,

There is another set of interfaces declared for that purpose.

-changeAttributes: and -convertAttributes: work just as -changeFont: and -convertFont:.

Aki

Hi,

In my application, I am using NSFontPanel on objects(NSAttributedString)
other than standard text fields.
I am using the NSFontManager's convertFont API to convert the current font
to the new font selected in NSFontPanel.


All the changes made in NSFontPanel will get updated except for the "text
color".
How can I retrieve the foreground text color from NSFontPanel?


Regards
Vinay

_______________________________________________

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

_______________________________________________

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


References: 
 >Retrieving the text color from NSFontPanel (From: Vinay Prabhu <email@hidden>)

  • Prev by Date: Re: NSString from NSConcreteAttributedString
  • Next by Date: Re: WebKit or something else?
  • Previous by thread: Retrieving the text color from NSFontPanel
  • Next by thread: NSImage Info
  • Index(es):
    • Date
    • Thread