This class represents the directory chooser dialog.
DD_DEFAULT_STYLE |
Equivalent to a combination of DEFAULT_DIALOG_STYLE and RESIZE_BORDER (the last one is not used under WinCE). |
DD_DIR_MUST_EXIST |
The dialog will allow the user to choose only an existing folder. When this style is not given, a “Create new directory” button is added to the dialog (on Windows) or some other way is provided to the user to type the name of a new folder. |
DD_CHANGE_DIR |
Change the current working directory to the directory chosen by the user. |
NB: on Windows the new directory button is only available with recent versions of the common dialogs.
See also Generic window styles.
DirDialog overview, FileDialog
Constructor. Use DirDialog#show_modal to show
the dialog.
Destructor.
Returns the default or user-selected path.
Returns the message that will be displayed on the dialog.
Sets the message that will be displayed on the dialog.
Sets the default path.
Shows the dialog, returning ID_OK if the user pressed OK, and ID_CANCEL
otherwise.
[This page automatically generated from the Textile source at 2023-06-13 21:31:34 +0000]