Scilab Function
Last update : 27/2/2006
tk_MFgetdir - dialog to get a directory path, with possible tk options
Calling Sequence
-
getpath=tk_MFgetdir([title='string'])
-
getpath=tk_MFgetdir([foo='options'])
-
getpath=tk_MFgetdir(path,[title='string'])
-
getpath=tk_MFgetdir([path[,title[,foo]]])
Parameters
-
path
: a character string which gives the initial directory used for directory search. by default tk_getdir uses the previously selected directory.
-
title
:Optional argument which gives the title for the tk_getdir window.
-
foo
: an optional character string which could be used to path additional Tcl/Tk options to the "tk_chooseDirectory" tk function, see Tcl/Tk manual for this informations.
-
getpath
: is the user selected file path if user answers "Ok" or the " " string if user answers "Cancel"
Description
Creates a dialog window for directory selection, with possible tk options
Examples
tk_MFgetdir()
tk_MFgetdir('SCI/macros/xdess',foo='-mustexist yes')
tk_MFgetdir(title='Choose a directory name ')
See Also
tk_getfile
,
tk_MFgetfile
,
tk_MFsavefile
,
file
,
fileinfo
,