Re: NSProgressIndicator (CallBacks)
Re: NSProgressIndicator (CallBacks)
- Subject: Re: NSProgressIndicator (CallBacks)
- From: Uli Kusterer <email@hidden>
- Date: Wed, 18 Jul 2007 18:06:11 +0200
On 18.07.2007, at 13:09, Barry wrote:
Thanks Alastair for the help with callbacks - that's now working.
However I the NSProgressIndicator Bar is not being displayed.
I originally had a simple spinner which worked fine.
Using IB I changed it to a Bar & since then - nothing is shown.
You're not doing this in a tight loop, are you? The spinner does
its work in a separate thread and ignores your "increment" calls,
while the progress bar simply marks itself as needing display. The
actual drawing will only happen the next time through the event loop
(or more precisely, the next time the view gets a call to -display
*and* someone flushes the window's back buffer.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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