/usr/local/perl/lib/site_perl/5.6.1/Tk/SearchDialog.pm |
SearchDialog.pm--Search Dialog Widget for Perl/Tk Text.
use Tk::SearchDialog;
my $dialog = $mw -> SearchDialog; my @searchoptions = $dialog -> Show;
The Tk::SearchDialog widget opens a dialog window that 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.
The SearchDialog returns a list with the following search specifications. All specifications 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.43 2002/08/22 16:34:50 kiesling Exp $
Author: Robert Allan Kiesling <rkiesling@earthlink.net>
/usr/local/perl/lib/site_perl/5.6.1/Tk/SearchDialog.pm |