Constructor
WebKit2WebExtensionUserMessagenew
since: 2.28
Declaration [src]
WebKitUserMessage*
webkit_user_message_new (
const char* name,
GVariant* parameters
)
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
, orNULL
.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. |