NSDrawerOpeningState woes
NSDrawerOpeningState woes
- Subject: NSDrawerOpeningState woes
- From: "Jurgen Vermeiren" <email@hidden>
- Date: Mon, 4 Feb 2008 19:31:15 +0100 (CET)
Hello,
This one is only a minor annoyance but it looks like a tough nut to crack:
I have an application whose main window has a drawer for logging. The
application spawns a thread that does some scientific computations, logs
the results and exits.
It all works well except that there is no way I can have the drawer to
open from within the secondary thread. The text view in the drawer does
get updated but I won't see it if the drawer is not already opened.
Now this thread does number crunching and does not have an event loop,
which might well be the problem. The drawer will remain stuck in the
NSDrawerOpeningState until after the termination of the secondary thread
and will not even react to subsequent open messages from within the main
thread (which of course has an event handler).
Any suggestion?
Jurgen
_______________________________________________
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