connectRunFileChooser
fun connectRunFileChooser(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (request: FileChooserRequest) -> Boolean): <Error class: unknown class>
This signal is emitted when the user interacts with a HTML element, requesting from WebKit to show a dialog to select one or more files to be uploaded. To let the application know the details of the file chooser, as well as to allow the client application to either cancel the request or perform an actual selection of files, the signal will pass an instance of the #WebKitFileChooserRequest in the @request argument.
The default signal handler will asynchronously run a regular #GtkFileChooserDialog for the user to interact with.
Parameters
connectFlags
A combination of ConnectFlags
handler
the Callback to connect. Params: request
a #WebKitFileChooserRequest. Returns true to stop other handlers from being invoked for the event. false to propagate the event further.