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

 

WebKitWebExtensionInitializeWithUserDataFunction ()

void
(*WebKitWebExtensionInitializeWithUserDataFunction)
                               (WebKitWebExtension *extension,
                                const GVariant *user_data);

Type definition for a function that will be called to initialize the web extensions when the web process starts, and which receives as additional argument the user data set with webkit_web_context_set_web_extensions_initialization_user_data().

Parameters

extension

a WebKitWebExtension

 

user_data

a GVariant

 

Since: 2.4


webkit_web_extension_get_page ()

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

Types and Values

struct WebKitWebExtension

struct WebKitWebExtension;

Signal Details

The “page-created” signal

void
user_function (WebKitWebExtension *webkitwebextension,
               WebKitWebPage      *arg1,
               gpointer            user_data)

Flags: Run Last