WebView.addOnRunFileChooser

This signal is emitted when the user interacts with a <input type='file' /> 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.

class WebView
gulong
addOnRunFileChooser
(,
ConnectFlags connectFlags = cast(ConnectFlags)0
)

Return Value

Type: gulong

%TRUE to stop other handlers from being invoked for the event. %FALSE to propagate the event further.

Meta