Hi Robert, (copy to the list which I forgot previously, sorry)
On Sun, Aug 3, 2014 at 12:22 AM, Robert Schroll <[email protected]> wrote: > I think you want to wait for the 'document-load-finished' signal. But to > have your signal handler run, the Gtk main loop needs to be running. (The > webview is probably also doing its loading in the main loop; note that a > dialog runs its own loop, which would explain why that worked but the sleep > didn't.) So you can start the main loop after loading the URL, and then > stop it after you do the printing. Cool, that does the trick! thanks for the perfectly illustrating example! Seems I have to get more into the gui event-driven mindset when playing with these things ;) Henning _______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
