[webkit-dev] Is it possible to block webkit_web_view_load_html_string() until the content is actually loaded?
james.su at gmail.com
Mon May 4 04:42:32 PDT 2009
Thanks a lot.
On Mon, May 4, 2009 at 4:33 PM, Holger Freyther <zecke at selfish.org> wrote:
> On Monday 04 May 2009 06:36:46 Zhe Su wrote:
> > Hi,
> > I'm writing an application which uses webkit to display some html
> > content. webkit_web_view_load_html_string() is used to set content into
> > webkit. I found this function will return before the content is actually
> > loaded, then webkit will load the content in background. However my
> > application needs block until the content is actually loaded. I know that
> > webkit has a signal "load-finished", which will be emitted when the
> > is fully loaded. But because of some limitation, my application can only
> > block at somewhere until the content is fully loaded. Because it's a
> > thread application, I don't know how to do it. Any suggestions to solve
> > this problem?
> Run your own event loop and leave it once load-finished got called or your
> timeout is reached...
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev