Re: Knowing when font panel is visible
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:45:33 +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)?
>
-----------------------------------------------------------
Some things have to be believed to be seen.
--Ralph Hodgson
-----------------------------------------------------------
_______________________________________________
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