WebKit2.WebView::run-color-chooser
connect('run-color-chooser', function (webView, request: WebKit2.ColorChooserRequest, ): Boolean);
This signal is emitted when the user interacts with a <input type='color' /> HTML element, requesting from WebKit to show a dialog to select a color. To let the application know the details of the color chooser, as well as to allow the client application to either cancel the request or perform an actual color selection, the signal will pass an instance of the WebKit2.ColorChooserRequest in the request argument.
It is possible to handle this request asynchronously by increasing the reference count of the request.
The default signal handler will asynchronously run a regular Gtk.ColorChooser for the user to interact with.
Since 2.8
- webView
instance of WebKit2.WebView that is emitting the signal
- request
- Returns
true to stop other handlers from being invoked for the event. false to propagate the event further.