The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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;

VERSION

0.01

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