Signal

WebKit2WebContext::user-message-received

Declaration

gboolean
user_message_received (
  WebKitWebContext* self,
  WebKitUserMessage* message,
  gpointer user_data
)

Description [src]

This signal is emitted when a WebKitUserMessage is received from a web process extension. You can reply to the message using webkit_user_message_send_reply().

You can handle the user message asynchronously by calling g_object_ref() on message and returning TRUE.

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:2.28

Parameters

message WebKitUserMessage
 

The WebKitUserMessage received.

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the message was handled, or FALSE otherwise.