Name
UI::AskForExistingDirectory — Opens a directory selection box and prompt the user for an existing directory.
Synopsis
string
AskForExistingDirectory
( |
string
| startDir
, |
|
string
| headline
) ; |
Parameters
-
string
startDir
is the initial directory that is displayed.
-
string
headline
is an explanatory text for the directory selection box. Graphical UIs may omit that if no window manager is running.
Return
-
string
Returns the selected directory name or nil if the user canceled the operation.
Description
Opens a directory selection box and prompt the user for an existing directory.