Tk::Enscript - a text-to-postscript converter using Tk::Canvas
Tk::FileDialog is a perl5 package which implements a File Selector
widget. To use Tk::FileDialog, you will need Perl version 5.002
or better, and Tk.
Tk::FontDialog implements a font dialog widget.
The dialog is displayed by calling the Show method. The returned value
is either the selected font (if the dialog was closed with the Ok
button) or undef (otherwise). The exact type of the return value is
either a Tk::Font object (in Tk800) or a font name string (usually
something like font1). Both can be used as values in Tk -font options.
Tk::Cloth - An OO interface to Tk::Canvas
Tk::TFrame - A frame with a title
Tk::NumEntry - An entry widget that accepts numbers and has up/down
buttons for in/decrement.
Tk::FireButton - Button that keeps invoking command when pressed
Tk::Getopt provides an interface to access command line options via
Getopt::Long and editing with a graphical user interface via a Tk window.
Tk::HistEntry implements an entry widget with history. You may use the up
and down keys to select older entries (or use the associated listbox).
JComboBox is a composite widget that contains a text Label or Entry, a
Button, and a popup Listbox. It performs the same sort of tasks that can be
accomplished by several other Composite widgets. Some such as BrowseEntry
and Optionmenu are part of the standard Tk distribution, and there are many
others available in CPAN.
JComboBox borrows features from the Java Swing component bearing the same
name, but falls short of being a true clone. Many of the methods and the
general look and feel should be familiar to java developers. JComboBox also
combines several features offered by many of the other "Combo Box"
implementations, and works in two modes: editable and readonly.
In readonly mode, JComboBox offers similar functionality to Optionmenu. It
is basically a labeled button that activates a popup list. An item from the
list is displayed on the Button when selected.
When editable, JComboBox somewhat resembles BrowseEntry. That is, the
widget is composed of an Entry widget with a Button to the right of it. As
in the editable mode, the Button activates a popup Listbox from which a
single item can be selected.
For programs that require large load times, it's a common practice to
display a Splashscreen that occupies the user's attention. This
Toplevel mega widget provides all the display, destroy and timing
events. All you do it create the Splashscreen mega widget, populate
it as you see fit, then invoke Splash() to display it and Destroy() to
tear it down.
Tk is a great graphical toolkit to write desktop applications. However, one can
get bothered with the constant typing of quotes and options. Tk::Sugar provides
handy subs for common options used when programming Tk.
Benefits are obvious:
- Reduced typing: The constant need to type => and '' is fine for one-off cases,
but the instant you start using Tk it starts to get annoying.
- More compact statements: Reduces much of the redundant typing in most cases,
which makes your life easier, and makes it take up less visual space, which
makes it faster to read.
- No string worries: Strings are often problematic, since they aren't checked at
compile-time. Sometimes it makes spotting an error a difficult task. Using
this alleviates that worry.
Tk::TableMatrix is a table/matrix widget extension to perl/tk for
displaying data in a table (or spreadsheet) format. The basic
features of the widget are:
* multi-line cells
* support for embedded windows (one per cell)
* row & column spanning
* variable width columns / height rows (interactively resizable)
* row and column titles
* multiple data sources ((perl hash|| perl callback) &| internal caching)
* supports standard Tk reliefs, fonts, colors, etc.
* x/y scrollbar support
* 'tag' styles per row, column or cell to change visual appearance
* in-cell editing - returns value back to data source
* support for disabled (read-only) tables or cells (via tags)
* multiple selection modes, with "active" cell
* multiple drawing modes to get optimal performance for larger tables
* optional 'flashes' when things update
* cell validation support
* Works everywhere Tk does (including Windows and Mac!)