It derives from
<GInitiallyUnowned>.
Message that can be sent between the UI process and web process extensions.
A WebKitUserMessage is a message that can be used for the communication
between the UI process and web process extensions. A WebKitUserMessage
always has a name, and it can also include parameters and UNIX file
descriptors. Messages can be sent from a
<WebKitWebContext> to all web process
extensions, from a web process extension to its corresponding
<WebKitWebContext>, and from a
<WebKitWebView> to its corresponding
WebKitWebPage (and vice versa). One to one messages can be
replied to directly with user-message:send-reply.
The UNIX file descriptors of the user message.
Its value is a <GUnixFDList>, or #f.
It can only be set when the object is made, with #:fd-list.
The name of the user message.
Its value is a string, or #f.
It can only be set when the object is made, with #:name.
The parameters of the user message as a
<GVariant>, or #f if the message
doesn’t include parameters. Note that only complete types are allowed.
Its value is a <GVariant>, or #f.
It can only be set when the object is made, with #:parameters.
Get the self list of file descritpor.
Passed: a <WebKitUserMessage>.
Returned: a <GUnixFDList>, or #f.
the message list of file descriptors
Get the self name.
Passed: a <WebKitUserMessage>.
Returned: a string.
the message name
Get the self parameters.
Passed: a <WebKitUserMessage>.
Returned: a <GVariant>, or #f.
the message parameters
Create a new <WebKitUserMessage> with
name.
Passed: a string.
the message name
Passed, or left out: a <GVariant>, or
#f.
the message parameters as a <GVariant>, or
#f
Returned: a <WebKitUserMessage>.
the newly created <WebKitUserMessage> object.
Create a new <WebKitUserMessage> including
also a list of UNIX file descriptors to be sent.
Passed: a string.
the message name
Passed, or left out: a <GVariant>, or
#f.
the message parameters as a <GVariant>
Passed, or left out: a <GUnixFDList>, or
#f.
the message file descriptors
Returned: a <WebKitUserMessage>.
the newly created <WebKitUserMessage> object.
Send a reply to an user message.
If reply is floating, it’s consumed. You can only send a reply to
a <WebKitUserMessage> that has been received.
Passed: a <WebKitUserMessage>.
Passed: a <WebKitUserMessage>.
a <WebKitUserMessage> to send as reply