signal callback delegate or function to connect
bool callback(webkit.user_message.UserMessage message, webkit.web_context.WebContext webContext)
message the #WebKitUserMessage received (optional)
webContext the instance the signal is connected to (optional)
Returns true if the message was handled, or false otherwise.
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to UserMessageReceived signal.
This signal is emitted when a #WebKitUserMessage is received from a web process extension. You can reply to the message using webkitwebprocessextension.user_message.UserMessage.sendReply.
You can handle the user message asynchronously by calling gobject.object.ObjectWrap.ref_ on message and returning true.