run_file_chooser


Description:

public virtual signal bool run_file_chooser (FileChooserRequest request)

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 FileChooserRequest in the request argument.

The default signal handler will asynchronously run a regular FileChooserDialog for the user to interact with.

Parameters:

request

a FileChooserRequest

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.