Hints::X - Perl extension for dialog for showing hints from hints databases |
Hints::X - Perl extension for dialog for showing hints from hints databases
use Tk; use Hints; use Hints::X;
my $mw = new Tk;
my $hints = new Hints; $hints->load_from_file('my.hints');
my $xhints = new Hints::X (-hints => $hints, -mw => $mw); $xhints->show;
This module use Hints(3)
module for showing its database in X dialog.
For X interface is Perl/Tk used.
Constructor create dialog with database and controls. You must specify
Hints(3)
instance for handling hints database and widget of Tk main window.
my $xhints = new Hints::X (-hints => $hints, -mw => $mw);
Show window with hints.
$xhints->show;
Hide window with hints.
$xhints->hide;
Is window with hints open and visible?
do_something() if $xhints->showed;
Wrapper for Tk::Widget geometry method.
my $geom = $xhints->geometry;
Defaults values for geometry()
.
$xhints->geometry($xhints->default_geometry);
0.02
(c) 2001 Milan Sorm, sorm@pef.mendelu.cz at Faculty of Economics, Mendel University of Agriculture and Forestry in Brno, Czech Republic.
This module was needed for making SchemaView Plus (svplus
) for making
user-friendly hints interface.
perl(1), svplus(1), Hints(3), Tk(3).
Hints::X - Perl extension for dialog for showing hints from hints databases |