[webkit-help] Query about CreateWebkitInstance function

Adam Roben aroben at apple.com
Tue May 31 12:33:17 PDT 2011


On May 31, 2011, at 2:41 PM, Ammar Ahmad Awan wrote:

> I would like to ask whether CreateWebkitInstance( ) is used to create
> an instance of Webkit or it is used to Create instances of objects
> like WebView or WebMutableURLRequest?

The latter. You call WebKitCreateInstance each time you want to create  
a new WebView, WebMutableURLRequest, or other API object.

> I am using WinLauncher app and I want to create two windows displaying
> two different webview instances.
>
> But I want to use an SVG font file that I loaded in my first Webview
> using <defs> tag in defaultHTML string.
>
> I want this font to be available in my second Webview and i don't want
> to explicitly define the font in every string that i pass to a frame.
> Any ideas on how to do that?

That sounds more like an SVG question than a WebKit question.

-Adam




More information about the webkit-help mailing list