~ubuntu-branches/ubuntu/trusty/horae/trusty

« back to all changes in this revision

Viewing changes to 0CPAN/Tk-HistEntry-0.42/README

  • Committer: Bazaar Package Importer
  • Author(s): Carlo Segre
  • Date: 2008-02-23 23:13:02 UTC
  • mfrom: (2.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080223231302-mnyyxs3icvrus4ke
Tags: 066-3
Apply patch to athena_parts/misc.pl for compatibility with 
perl-tk 804.28.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Tk::HistEntry Module
2
 
 
3
 
Tk::HistEntry implements an entry widget with history. You may use the up
4
 
and down keys to select older entries (or use the associated listbox).
5
 
 
6
 
Usage: $top->HistEntry(-textvariable => \$foo,
7
 
                       -command => sub {
8
 
                         # automatically adds $foo to history
9
 
                         print STDERR "Do something with $foo\n";
10
 
                       })->pack;
11
 
 
12
 
The widget comes in two flavors: the "HistEntry" widget is an
13
 
inherited BrowseEntry widget where you see history in the associated
14
 
listbox, too. The "SimpleHistEntry" widget is a plain Entry widget.
15
 
 
16
 
To install, type
17
 
 
18
 
        $ perl Makefile.PL
19
 
        $ make
20
 
        $ make install
21
 
 
22
 
Testing is done with
23
 
 
24
 
        $ make test
25
 
 
26
 
There's also a demo which can be started with
27
 
 
28
 
        $ make demo
29
 
 
30
 
Send bug reports, comments and suggestions to Slaven Rezic
31
 
<slaven@rezic.de>.