Re: Knowing when font panel is visible
Re: Knowing when font panel is visible
- Subject: Re: Knowing when font panel is visible
- From: Quincey Morris <email@hidden>
- Date: Sun, 04 Sep 2011 01:39:06 -0700
On Sep 4, 2011, at 00:40 , Antonio Nunes 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)?
_______________________________________________
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