signal callback delegate or function to connect
bool callback(webkit.permission_state_query.PermissionStateQuery query, webkit.web_view.WebView webView)
query the #WebKitPermissionStateQuery (optional)
webView 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 QueryPermissionState signal.
This signal allows the User-Agent to respond to permission requests for powerful features, as specified by the Permissions W3C Specification. You can reply to the query using webkit.permission_state_query.PermissionStateQuery.finish.
You can handle the query asynchronously by calling webkit.permission_state_query.PermissionStateQuery.ref_ on query and returning true. If the last reference of query is removed and the query has not been handled, the query result will be set to WEBKIT_QUERY_PERMISSION_PROMPT.