Class FileDialog |
########################################################################### File dialog class
Details |
Constructor |
FileDialog(init_dir, init_file, res, dir, file, dlist, flist, okay, cancel, extra_attribs)
init_dir | Initial directory name
|
init_file | Initial file name
|
res | Resulting file path
|
dir | TextField directory
|
file | TextField filename
|
dlist | TextList of directories
|
flist | TextList of files
|
okay | |
cancel | |
extra_attribs | Custom attributes
|
Methods: |
Get the directory part of the result
Get the result, (will fail if cancel was pressed).
Get the directory TextField contents standardized with a trailing /
Set the initial directory.
Extra attributes set by caller.
Set the initial file
Set the initial file/directory from a whole path.
Set the result
Fields: |