extfileselectionbox - Create and manipulate a file selection box
widget
extfileselectionbox pathName ?options?
itk::Widget <- Extfileselectionbox
options.
associated options.
labelFont
above associated options.
sashCursor
above associated options.
activeRelief elementBorderWidth jumptroughColor
above associated options.
textBackground textFont
above associated options.
lection box: n, s, e, w, top, or bottom. The default is s.
sent working directory.
search. The command will receive the current working directory and filter mask as arguments. The command should return a list of files which will be placed into the directory list.
default is «Directories".
value may be given in any of the forms acceptable to Tcl_Get-
mask as arguments. The command should return a list of files
which will be placed into the file list.
is «Files".
may be given in any of the forms acceptable to Tcl_GetBoolean.
ular, directory, or any. The default is regular.
key in the filter combobox widget.
default is «Filter".
value may be given in any of the forms acceptable to Tcl_Get-
specified in any of the forms acceptable to Tk_GetPixels. The
default is 300 pixels.
invalid. The default is {bell}.
files match the mask. The default is «".
directory in the directory list.
file in the files list.
key in the selection combobox widget.
default is «Selection".
value may be given in any of the forms acceptable to Tcl_Get-
ified in any of the forms acceptable to Tk_GetPixels. The
default is 350 pixels.
_________________________________________________________________
tion box which is slightly different than the fileselectionbox widget. The differences are mostly cosmetic in that the list- boxes are within a panedwindow and the entryfields for the filter and selection have been replaced by comboboxes. Other than that the interface is practically the same.
name is pathName. This command may be used to invoke various operations on the widget. It has the following general form:
pathName option ?arg arg ...?
gets:
pathName cget option
option. Option may have any of the values accepted by the
extfileselectionbox command.
pathName childsite
pathName configure ?option? ?value option value ...?
option is specified, returns a list describing all of the avail-
able 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 extfileselectionbox command.
pathName filter
based on the current filter combobox value.
pathName get
fileselection box. See the «scrolledlistbox» widget manual entry
for details on the dirs component item.
lection box. See the «scrolledlistbox» widget manual entry for
details on the files component item.
value. See the «combobox» widget manual entry for details on the
filter component item.
rently selected file value. See the «combobox» widget manual entry for details on the selection component item.
extfileselectionbox .fsb
pack .fsb -padx 10 -pady 10 -fill both -expand yes
extfileselectionbox, widget