WebContext.addOnUserMessageReceived

This signal is emitted when a #WebKitUserMessage is received from a #WebKitWebExtension. 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.

class WebContext
gulong
addOnUserMessageReceived
(
bool delegate dlg
,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

%TRUE if the message was handled, or %FALSE otherwise.

Meta

Since

2.28