The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.
represents an Open or Save dialog.
- To use Widget["FileDialog"], you first need to load GUIKit using Needs["GUIKit`"].
- The following properties are available:
"multiSelectionEnabled" False whether multiple files can be selected "fileSelectionMode" 0 whether files, directories, or files and directories can be selected "selectedFile" Null the selected file
- The following methods are available:
"showOpenDialog" requests that the dialog open using the "open a file" mode "showSaveDialog" requests that the dialog open using the "save a file" mode
- You will probably want to pass a widget reference of a window or frame (instead of Null) in the argument call of "showOpenDialog" and "showSaveDialog" so that the modal file dialog will base its position and properties relative to this parent window.