• 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: How does NSFontPanel work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does NSFontPanel work?


  • Subject: Re: How does NSFontPanel work?
  • From: "I. Savant" <email@hidden>
  • Date: Tue, 3 Jan 2006 16:58:42 -0500


Apologies - I skimmed your original post. Can you be more specific when you say -setPanelFont:isMultiple: "doesn't work"? Can you post your code and describe the 'not working' behavior?


--
I.S.


On Jan 3, 2006, at 4:49 PM, Huibert Aalbers wrote:

Thanks for your help, but this is not really what I needed.

My problem is how do I let the Font panel know what my current font is
for a particular document, so that when it is brought to front the
panel is updated correctly.

Thanks anyway,

Huibert

On 1/3/06, I. Savant <email@hidden> wrote:
Huibert:

   http://www.cocoadev.com/index.pl?NSFontPanel

   Does this help?

--
I.S.


On Jan 3, 2006, at 4:19 PM, Huibert Aalbers wrote:

Hi,

This is probably a silly question but I have been searching for
samples with no success.

I am writing a document based application. Each document displays data
using a single font. I want the user to be able to choose the font for
each document by using the Font Panel. I have added the Format Menu to
my app and I get the changeFont events when the user selects a new
Font. The problem is that when I switch documents the menu is not
updated automatically, which is logical since I am not using any text
components to draw the text but still leaves me wondering how to do
it.


I have tried [[NSFontManager sharedFontManager]
setSelectedFont:currentFont isMultiple:NO]; but it doesn't seem to
work.

Any ideas?

Regards,

Huibert Aalbers

--
Viisit my home page at http://www.huibert-aalbers.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com

This email sent to email@hidden




--
Viisit my home page at http://www.huibert-aalbers.com

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: How does NSFontPanel work?
      • From: email@hidden
References: 
 >How does NSFontPanel work? (From: Huibert Aalbers <email@hidden>)
 >Re: How does NSFontPanel work? (From: "I. Savant" <email@hidden>)
 >Re: How does NSFontPanel work? (From: Huibert Aalbers <email@hidden>)

  • Prev by Date: Uniform Type Identifiers (UTIs)
  • Next by Date: Re: Uniform Type Identifiers (UTIs)
  • Previous by thread: Re: How does NSFontPanel work?
  • Next by thread: Re: How does NSFontPanel work?
  • Index(es):
    • Date
    • Thread