Class
WebKit2WebExtensionUserMessage
Description [src]
class WebKit2WebExtension.UserMessage : GObject.InitiallyUnowned {
parent: GInitiallyUnowned,
priv: WebKitUserMessagePrivate*
}
Message that can be sent between the UI process and web extensions.
A WebKitUserMessage is a message that can be used for the communication between the UI process
and web 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 WebKitWebExtension
s,
from a WebKitWebExtension
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 webkit_user_message_send_reply().
Available since: | 2.28 |
Constructors
webkit_user_message_new_with_fd_list
Create a new WebKitUserMessage
including also a list of UNIX file descriptors to be sent.
Available since: 2.28
Functions
webkit_user_message_error_quark
Gets the quark for the domain of user message errors.
Properties
WebKit2WebExtension.UserMessage:fd-list
The UNIX file descriptors of the user message.
Available since: 2.28
WebKit2WebExtension.UserMessage:parameters
The parameters of the user message as a GVariant
, or NULL
if the message doesn’t include parameters. Note that only complete types are allowed.
Available since: 2.28
Signals
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct WebKit2WebExtensionUserMessageClass {
GInitiallyUnownedClass parent_class;
void (* _webkit_reserved0) (
void
);
void (* _webkit_reserved1) (
void
);
void (* _webkit_reserved2) (
void
);
void (* _webkit_reserved3) (
void
);
}
Class members
parent_class |
|
No description available. | |
_webkit_reserved0 |
|
No description available. | |
_webkit_reserved1 |
|
No description available. | |
_webkit_reserved2 |
|
No description available. | |
_webkit_reserved3 |
|
No description available. |