From 4f929a0fdfae24b1ca5acf0b732219119090ee43 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Tue, 12 Sep 2017 17:42:36 -0300 Subject: Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will recognize them. --- doc/classes/FileDialog.xml | 222 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 doc/classes/FileDialog.xml (limited to 'doc/classes/FileDialog.xml') diff --git a/doc/classes/FileDialog.xml b/doc/classes/FileDialog.xml new file mode 100644 index 000000000..052c80855 --- /dev/null +++ b/doc/classes/FileDialog.xml @@ -0,0 +1,222 @@ + + + + Dialog for selecting files or directories in the filesystem. + + + FileDialog is a preset dialog used to choose files and directories in the filesystem. It supports filter masks. + + + + + + + + + + + + + Add a custom filter. Filter format is: "mask ; description", example (C++): dialog->add_filter("*.png ; PNG Images"); + + + + + + + Clear all the added filters in the dialog. + + + + + + + Return the file access permission of the dialog. + + + + + + + Get the current working directory of the file dialog. + + + + + + + Get the current selected file of the file dialog (empty if none). + + + + + + + Get the current selected path (directory and file) of the file dialog (empty if none). + + + + + + + + + + + + + Get the file dialog mode from the MODE_* enum. + + + + + + + Return the vertical box container of the dialog, custom controls can be added to it. + + + + + + + Invalidate and update the current dialog content list. + + + + + + + Return true if the diaog allows show hidden files. + + + + + + + + + Set the file access permission of the dialog(Must be one of [ACCESS_RESOURCES], [ACCESS_USERDATA] or [ACCESS_FILESYSTEM]). + + + + + + + + + Set the current working directory of the file dialog. + + + + + + + + + Set the current selected file name of the file dialog. + + + + + + + + + Set the current selected file path of the file dialog. + + + + + + + + + + + + + + + + + Set the file dialog mode from the MODE_* enum. + + + + + + + + + Set the dialog should show hidden files. + + + + + + + + + + + + + + + + + + + Event emitted when the user selects a directory. + + + + + + + Event emitted when the user selects a file (double clicks it or presses the OK button). + + + + + + + Event emitted when the user selects multiple files. + + + + + + The dialog allows the selection of one, and only one file. + + + The dialog allows the selection of multiple files. + + + The dialog functions as a folder selector, disallowing the selection of any file. + + + The dialog allows the selection of a file or a directory. + + + The dialog will warn when a file exists. + + + The dialog allows the selection of file and directory. + + + The dialog allows ascess files under [Resource] path(res://) . + + + The dialog allows ascess files in whole file system. + + + + + + + + + + + -- cgit v1.3