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: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