module WebView::Dialog
Overview
Dialog
is the base module for three avaiable kinds of dialog in Alizarin.
They includes:
Direct including types
Defined in:
components/web_view/dialog.crInstance Method Summary
-
#add_file_filter(name : String, pattern : String)
Implicitly adds an
WebView::DialogFileFilter
to the dialog, given its name and pattern. -
#add_file_filter(filter : DialogFileFilter)
Adds an
WebView::DialogFileFilter
to the dialog. -
#show
Shows the dialog then return corresponding value, in : file path, ..etc...
Instance Method Detail
def add_file_filter(name : String, pattern : String)
#
Implicitly adds an WebView::DialogFileFilter
to the dialog, given its name and pattern.
my_dialog.add_file_filter("Crystal", "*.cr")