Chooser(n)
NAME
Chooser - A simple widget for selecting items based on filenames
PARENT CLASS
util::FrameWidget
SYNOPSIS
Chooser <path> ?options?
DESCRIPTION
Chooser is a simple itcl widget for selecting items based on files with
a given suffix in a given directory.
ITK COMPONENTS
list
ListboxWidget(n) for displaying choice.
STANDARD OPTIONS
-background -font -foreground -height -hscroll -title -vscroll
-width
WIDGET OPTIONS
-command
Tcl command to evaluate with selected file name.
-default
Default selection.
-dir
Directory for files.
-files
List of files (complete pathnames, usually output of [glob
$dir/*.$suffix].
-suffix
Suffix for files.
PUBLIC METHODS
set_choice {file}
Change the selection to the given file.
PROTECTED METHODS
choose {}
Set new values.
PROTECTED VARIABLES
listbox_
Internal listbox widget.
SEE ALSO
FrameWidget(n)
- - - - - -
Last change: 07 May 99
Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory