class

WebView::SelectFolderDialog

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 = "Select Folder", webview : WebView | Nil = nil, select_button_title : String = "OK", cancel_button_title : String = "Cancel")

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

Source