class

WebView::SaveFileDialog

Inherits WebView::Dialog / Reference / Object

SaveFileDialog is used to select a file in file system to which program will write later. When it's done, it returns the path of selected file.

Constructors

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

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

Source

Instance methods

file_name=(name : String)

Set default file name to save.

Source