class WebView::SelectFolderDialog
- WebView::SelectFolderDialog
- Reference
- Object
Overview
OpenFileDialog
is used to select a file in file system.
When it's done, it returns the path of selected file.
Included Modules
Defined in:
components/web_view/select_folder_dialog.crConstructors
-
.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 notnil
, the dialog will block webview until it's done.
Instance methods inherited from module WebView::Dialog
add_file_filter(name : String, pattern : String)add_file_filter(filter : DialogFileFilter) add_file_filter, show show
Constructor Detail
def self.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.