Hints::X - Perl extension for dialog for showing hints from hints databases


NAME

Hints::X - Perl extension for dialog for showing hints from hints databases


SYNOPSIS

        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;


DESCRIPTION

This module use Hints(3) module for showing its database in X dialog. For X interface is Perl/Tk used.


THE HINTS::X CLASS

new

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

Show window with hints.

        $xhints->show;

hide

Hide window with hints.

        $xhints->hide;

showed

Is window with hints open and visible?

        do_something() if $xhints->showed;

geometry

Wrapper for Tk::Widget geometry method.

        my $geom = $xhints->geometry;

default_geometry

Defaults values for geometry().

        $xhints->geometry($xhints->default_geometry);


VERSION

0.02


AUTHOR

(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.


SEE ALSO

perl(1), svplus(1), Hints(3), Tk(3).

 Hints::X - Perl extension for dialog for showing hints from hints databases