[webkit-gtk] API: impossible to create a webview with context and user content manager

Jérémy Lal kapouer at melix.org
Thu Mar 31 06:26:13 PDT 2016


2016-03-31 15:21 GMT+02:00 Jérémy Lal <kapouer at melix.org>:

> I was trying to do so using webkit2gtk 2.12, but the API seems to not
> allow this.
>
> It would have been nice to be able to pass construct only properties to
> webkit_web_view_new()
> like it is possible with webkit_website_data_manager_new(...).
>
>
Or is it

WEBKIT_WEB_VIEW(g_object_new(WEBKIT_TYPE_WEB_VIEW,
  "user-content-manager", webkit_user_content_manager_new(),
  "web-context", webContext,
  NULL
));

?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20160331/afb9f62d/attachment.html>


More information about the webkit-gtk mailing list