• 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
NSFontPanel selected font?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSFontPanel selected font?


  • Subject: NSFontPanel selected font?
  • From: "R.L. Grigg" <email@hidden>
  • Date: Mon, 2 Jul 2007 11:51:08 -0700

I wrote a simple Cocoa app that has a Font menu item that brings up the font panel. The user can select a font and dismiss the panel, but how can I catch whatever callback or notification gets issued? There seems to be no [fontPanel selectedFont] method, my -changeFont: method never gets called, and NSFontManager returns nil for selectedFont. The Apple doc on NSFontPanel doesn't say much. All I'm trying to do is find out what font got selected; I'm not changing or converting any fonts.

_______________________________________________

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


  • Follow-Ups:
    • Re: NSFontPanel selected font?
      • From: Scott Anguish <email@hidden>
    • Re: NSFontPanel selected font?
      • From: Andy Lee <email@hidden>
  • Prev by Date: Re: Cocoa and dead-code stripping
  • Next by Date: Re: NSFontPanel selected font?
  • Previous by thread: [ANN] F-Script Google Tech Talk video
  • Next by thread: Re: NSFontPanel selected font?
  • Index(es):
    • Date
    • Thread