Class
WebKit2WebExtensionUserMessage
since: 2.28
Description [src]
class WebKit2WebExtension.UserMessage : GObject.InitiallyUnowned
{
priv: WebKitUserMessagePrivate*
}
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 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.
since: 2.28
Properties
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.
since: 2.28
Signals
Signals inherited from GObject (1)
GObject::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
);
}
No description available.
Class members
parent_class: GInitiallyUnownedClass
No description available.
_webkit_reserved0: void (* _webkit_reserved0) ( void )
No description available.
_webkit_reserved1: void (* _webkit_reserved1) ( void )
No description available.
_webkit_reserved2: void (* _webkit_reserved2) ( void )
No description available.
_webkit_reserved3: void (* _webkit_reserved3) ( void )
No description available.