DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

VtFileSelectionDialog(1vtcl)


VtFileSelectionDialog -- create file selection dialog for current directory

Synopsis

VtFileSelectionDialog widgetName [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


-dirListLabel string (CS)
Sets the label of the directory list box to string.

-fileListLabel string (CS)
Sets the label of the file list box to string.

-filter string (CS)
Sets the pattern used for filtering files (for example, /etc/default/*).

-filterLabel string (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.

-selection string (CSG)
Sets the value of the filename in the filename text widget to string.

-selectionLabel string (CS)
Sets the label over the box where the user can type in a selection.

25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004