WebPage.sendMessageToView
- message webkitwebprocessextension.user_message.UserMessage
- cancellable gio.cancellable.Cancellable
- callback gio.types.AsyncReadyCallback
webkitwebprocessextension web_page WebPage
constructorsfunctionspropertiesstatic functions
Send message to the #WebKitWebView corresponding to web_page. If message is floating, it's consumed.
If you don't expect any reply, or you simply want to ignore it, you can pass null as callback. When the operation is finished, callback will be called. You can then call webkitwebprocessextension.web_page.WebPage.sendMessageToViewFinish to get the message reply.