
10. Perl/Tk Widgets 47
-filelistlabel => string
Label for file Listbox widget.
-filter => string
Limits search to the wildcard string.
-dirlabel => string
Label for directory Entry widget.
-dirlistlabel => string
Label for directory Listbox widget.
-accept => callback
Overrides FileSelect; accept subroutine with your own.
-create => boolean
True if it’s okay to create directories.
-verify => [-verifyOptions]
A list of Perl file test operators and/or callbacks to your
own verify subroutine. The subroutine is implicitly called
with a directory pathname and a file (or directory) name,
and possibly optional arguments.
$fsel->Show;
Map the FileSelect toplevel window; return selection or
undef.
HList
HList is used to display any data that have a hierarchical
structure, for example, file system directory trees. The list
entries are indented and connected by branch lines accord-
ing to their places in the hierachy.
-background -relief
-borderwidth -selectbackground
-cursor -selectborderwidth
-exportselection -selectforeground
-font -setGrid
-foreground -takefocus
-height -width
-highlightbackground -xscrollcommand