
46 Perl/Tk Pocket Reference
ErrorDialog
A bizarre widget that intercepts error messages destined for
STDERR and instead displays them in a window. This widget
is magically created when the first background error occurs;
you just need to include a use Tk::ErrorDialog statement in
your program. To specify
-cleanupcode or -appendtrace-
back manually instantiate the ErrorDialog object. (See
Tk::Error.)
-cleanupcode => callback
If special post-background error processing is required.
-appendtraceback => boolean
Whether or not to append successive traceback messages.
The default is true.
FileSelect
FileSelect is a widget for choosing files and/or directories.
-width => width
Width of file and directory listboxes.
-height => height
Height of file and directory listboxes.
-directory => pathName
Starting directory pathname.
-filelabel => string
Label for file Entry widget.
-borderwidth -highlightthickness
-cursor -relief
-height -takefocus
-highlightbackground -width
-highlightcolor
-borderwidth -highlightbackground
-cursor -highlightcolor
-height -highlightthickness
-relief -width
-takefocus