class

WebView::OpenFileDialog

Inherits WebView::Dialog / Reference / Object

OpenFileDialog is used to select a file in file system. When it's done, it returns the path of selected file.

Constructors

new(title : String = "Open File", webview : WebView | Nil = nil, open_button_title : String = "Open", cancel_button_title : String = "Cancel")

Initializes a new OpenFileDialog, if webview is not nil, the dialog will block webview until it's done.

Source