def choose_directory(self, title="<STR_LIT>", initialDir="<STR_LIT>", rememberAs=None, **kwargs):
if rememberAs is not None:<EOL><INDENT>return self._run_kdialog(title, ["<STR_LIT>", initialDir, "<STR_LIT::>" + rememberAs], kwargs)<EOL><DEDENT>else:<EOL><INDENT>return self._run_kdialog(title, ["<STR_LIT>", initialDir], kwargs)<EOL><DEDENT>
Show a Directory Chooser dialog

Usage: C{dialog.choose_directory(title="Select Directory", initialDir="~", rememberAs=None, **kwargs)}

@param title: window title for the dialog
@param initialDir: starting directory for the directory chooser dialog
@param rememberAs: gives an ID to this file dialog, allowing it to open at the last used path next time
@return: a tuple containing the exit code and chosen path
@rtype: C{DialogData(int, str)}