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:58:09 -0700
On Sep 4, 2011, at 01:45 , Antonio Nunes wrote:
> Because I need to know when the status changes, rather then simply whether it is visible.
Pragmatically, you can set a repeating NSTimer of (say) 0.1 secs and poll the panel visibility. The processing load in minuscule, and the UI lag is basically undetectable.
IIRC there isn't any general notification when a window becomes visible. I think I once spent frustrating hours trying to find the notification I assume must exist, but couldn't find 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