WebKitWebExtension

WebKitWebExtension

Functions

Signals

Types and Values

Object Hierarchy

    GObject
    ╰── WebKitWebExtension

Description

Functions

WebKitWebExtensionInitializeFunction ()

void
(*WebKitWebExtensionInitializeFunction)
                               (WebKitWebExtension *extension);

Type definition for a function that will be called to initialize the web extension when the web process starts.

Parameters

extension

a WebKitWebExtension

 

webkit_web_extension_get_page ()

WebKitWebPage *
webkit_web_extension_get_page (WebKitWebExtension *extension,
                               guint64 page_id);

Get the web page of the given page_id .

Parameters

extension

a WebKitWebExtension

 

page_id

the identifier of the WebKitWebPage to get

 

Returns

the WebKitWebPage for the given page_id , or NULL if the identifier doesn't correspond to an exsiting web page.

[transfer none]

Types and Values

struct WebKitWebExtension

struct WebKitWebExtension;

Signal Details

The “page-created” signal

void
user_function (WebKitWebExtension *extension,
               WebKitWebPage      *web_page,
               gpointer            user_data)

This signal is emitted when a new WebKitWebPage is created in the Web Process.

Parameters

extension

the WebKitWebExtension on which the signal is emitted

 

web_page

the WebKitWebPage created

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last