tixExFileSelectBox - Create and manipulate tixExFileSelectBox widgets


SYNOPSIS

tixExFileSelectBox pathName ?options?

SUPER-CLASS

The TixExFileSelectBox
class does not have a super-class.

STANDARD OPTIONS

TixExFileSelectBox
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:		dialog
Class:		Dialog
Switch:		-dialog


Name:		dircmd
Class:		DirCmd
Switch:		-dircmd


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


Name:		disableCallback
Class:		DisableCallback
Switch:		-disablecallback


Name:		fileTypes
Class:		FileTypes
Switch:		-filetypes

    tixExFileSelectBox .box -filetypes  {
        {{*}	{All files}}
        {{*.txt}	{Text files}}
        {{*.c *.h}	{C source files}}
    }


Name:		showHidden
Class:		ShowHidden
Switch:		-showhidden


Name:		pattern
Class:		Pattern
Switch:		-pattern


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

SUBWIDGETS


Name:		cancel
Class:		Button


Name:		dir
Class:		TixComboBox


Name:		dirlist
Class:		TixDirList


Name:		file
Class:		TixComboBox


Name:		filelist
Class:		TixScrolledListBox


Name:		hidden
Class:		Checkbutton


Name:		ok
Class:		Button


Name:		types
Class:		TixComboBox

DESCRIPTION

The tixExFileSelectBox command creates a new window (given by the pathName argument) and makes it into a ExFileSelectBox widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the ExFileSelectBox such as its cursor and relief. The ExFileSelectBox widget is usually embedded in a tixExFileSelectDialog widget. It provides an convenient method for the user to select files. The style of the ExFileSelectBox widget is very similar to the standard file dialog in MS Windows 3.1.

WIDGET COMMANDS

The tixExFileSelectBox command creates a new Tcl command whose window. 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 ExFileSelectBox 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 tixExFileSelectBox 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 tixExFileSelectBox command.
pathName filter
Forces the ExFileSelectBox widget to re-filter all the filenames according to the -pattern option.
pathName invoke
Forces the ExFileSelectBox widget to perform actions as if the user has pressed the "OK" button.
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.

KEYWORDS

Tix(n)
Last modified Sun Jan 19 22:34:23 EST 1997 --- Serial 853731298