Re: WebKit problem
Re: WebKit problem
- Subject: Re: WebKit problem
- From: John Timmer <email@hidden>
- Date: Tue, 23 Dec 2003 12:59:27 -0500
Direct the WebView to load its data prior to displaying the panel. There
are delegate methods that will allow you to be notified when the loading is
complete - simply display the panel and enter the modal portion of your code
from there.
If you need details on how to implement any of this, please write back.
Cheers,
John
>
Following my question of yesterday (to which I've never got any reply), I
>
created a test project that would display a webview in an NSPanel that would
>
be run from a modal session.
>
>
When I run the app, nothing appears in the webview. So, it seems that WebKit
>
and the webview in particular, need to be run from the main event loop. Are
>
there any reasons for that? Any workaround? The part in my app where this
>
webview has to be displayed is from within a modal session and I can't see
>
how to make it work without heavily modifying my application design.
>
>
Anybody has any idea?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.