Constructor

WebKitWebProcessExtensionUserMessagenew

since: 2.28

Declaration [src]

WebKitUserMessage*
webkit_user_message_new (
  const char* name,
  GVariant* parameters
)

Description [src]

Create a new WebKitUserMessage with name.

Available since: 2.28

Parameters

name

Type: const char*

The message name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
parameters

Type: GVariant

The message parameters as a GVariant, or NULL.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: WebKitUserMessage

The newly created WebKitUserMessage object.

The data is owned by the called function.