• 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: Knowing when font panel is visible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Knowing when font panel is visible


  • Subject: Re: Knowing when font panel is visible
  • From: Antonio Nunes <email@hidden>
  • Date: Sun, 04 Sep 2011 10:50:57 +0200

On 4 Sep 2011, at 10:39, Quincey Morris wrote:

>> I have a control that needs to be highlighted when the font panel is visible. This turns out not to be an easy task. I can't find any notifications that will be triggered whenever the font panel is shown or is hidden.
>
> Why can't you use '[[NSFontPanel sharedFontPanel] isVisible]' (possibly checking first with '[NSFontPanel sharedFontPanelExists]' so that you don't unnecessarily create it)?

Because I need to know when the status changes, rather then simply whether it is visible.

-António

----------------------------------------------------
It is better to light a candle than to curse the darkness
----------------------------------------------------



_______________________________________________

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

References: 
 >Knowing when font panel is visible (From: Antonio Nunes <email@hidden>)
 >Re: Knowing when font panel is visible (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Knowing when font panel is visible
  • Next by Date: Re: Knowing when font panel is visible
  • Previous by thread: Re: Knowing when font panel is visible
  • Next by thread: Re: Knowing when font panel is visible
  • Index(es):
    • Date
    • Thread