VtFileSelectionDialog --
create file selection dialog for current directory
Syntax
VtFileSelectionDialogobject_name [options]
Description
Creates a File Selection dialog which displays a list of
directories and files for the current directory. The user
can select a file from the list or type in the text area.
It also allows the user to switch to other directories.
The lists are automatically updated to show the list of files
and directories in the current directory. Returns the widget name.
By default, File Selection dialogs have an OK,
Cancel, Help and Filter
button. The Filter button is used to switch
directories. You can choose whether you want the
OK, Cancel and Help buttons,
by using the options -ok, -cancel, and
-help (see Message Dialog). The Filter
button is always present.
If the user chooses either the OK or
Cancel button, the dialog is automatically popped
down and destroyed, and the user's selection passed as a
parameter to the OK callback. To override this
default, -autoHide and -autoDestroy
options can be used.
Options
-dirListLabelstring (CS)
Sets the label of the directory list box to string.
-fileListLabelstring (CS)
Sets the label of the file list box to string.
-filterstring (CS)
Sets the pattern used for filtering files
(for example, /etc/default/∗).
-filterLabelstring (CS)
Sets the label over the box where the user can type in a filter to string.
-hideDirList (C)
Do not display the directory list.
-hideFilter (C)
Do not display the filter text.
-selectionstring (CS)
Sets the value of the filename in the filename text widget to string.
-selectionLabelstring (CS)
Sets the label over the box where the user can type in a selection.