tixFileSelectBox - Create and manipulate Tix FileSelectBox widgets


SYNOPSIS

tixFileSelectBox pathName ?options?

STANDARD OPTIONS

The FileSelectBox widget supports all the standard options of a frame widget. See the options(n)
manual entry for details on the standard options.

WIDGET-SPECIFIC OPTIONS


Name:		browsecmd
Class:		browseCmd
Switch:		-browsecmd


Name:		command
Class:		Command
Switch:		-command


Name:		directory
Class:		Directory
Switch:		-directory
Alias:		-dir


Name:		disableCallback
Class:		DisableCallback
Switch:		-disablecallback


Name:		pattern
Class:		Pattern
Switch:		-pattern


Name:		value
Class:		Value
Switch:		-value
Alias:		-selection

SUBWIDGETS


Name:		dirlist
Class:		TixScrolledListBox


Name:		filelist
Class:		TixScrolledListBox


Name:		filter
Class:		TixComboBox


Name:		selection
Class:		TixComboBox

DESCRIPTION

The tixFileSelectBox command creates a new window (given by the pathName argument) and makes it into a FileSelectBox widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the FileSelectBox such as its cursor and relief.

The FileSelectBox is similar to the standard Motif(TM) file-selection box. It is generally used for the user to choose a file. FileSelectBox stores the files mostly recently selected into a ComboBox widget so that they can be quickly selected again. The tixFileSelectDialog widget is a combination of the FileSelectBox widget and a dialog widget.

WIDGET COMMAND

The tixFileSelectBox command creates a new Tcl command whose This command may be used to invoke various operations on the widget. It has the following general form:

pathName option ?arg arg ...?

PathName is the name of the command, which is the same as the args determine the exact behavior of the command. The following commands are possible for FileSelectBox widgets:
pathName cget option
Returns the current value of the configuration option given by option. Option may have any of the values accepted by the tixFileSelectBox command.
pathName configure ?option? ?value option value ...?
Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the tixFileSelectBox command.
pathName filter
Updates the files listed in the FileSelectBox according to the filtering pattern sepcified in the filter subwidget.
pathName invoke
Execute the command specified by the -command option with the filename stored in the selection subwidget.
pathName subwidget name ?args?
When no options are given, this command returns the pathname of the subwidget of the specified name. When options are given, the widget command of the specified subwidget will be called with these options.

DEFAULT BINDINGS

TIX automatically creates class bindings for FileSelectBoxes that give them the following default behavior:

KEYWORDS

tixFileSelectBox, tixComboBox, tixFileSelectDialog, Tix(n),
Last modified Sun Jan 19 22:34:24 EST 1997 --- Serial 853731298