SearchDialog.pm - Search Dialog Widget for Perl/Tk Text.
use Tk::SearchDialog; my $dialog = $mw -> SearchDialog; my @searchoptions = $dialog -> Show;
A Tk::SearchDialog widget allows entry of search and/or replacement text, and the selection of search options.
The SearchDialog returns a list of ($option, $value) pairs (see below) when the user clicks the "Search!" button, and undef if the user clicks the "Cancel" button.
All options are string scalar values. The "-option*" options are set to "1" when selected, and "0" or undef if not selected. Labels and titles are read-only.
Allow all option defaults to be set by the calling module. Should have some entry validation.
$Id: SearchDialog.pm,v 0.44 2002/08/30 14:19:11 kiesling Exp $
Author: Robert Allan Kiesling <rkiesling@earthlink.net>
To install Tk::SearchDialog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::SearchDialog
CPAN shell
perl -MCPAN -e shell install Tk::SearchDialog
For more information on module installation, please visit the detailed CPAN module installation guide.