File: README

package info (click to toggle)
libtk-histentry-perl 0.43-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 100 kB
  • ctags: 41
  • sloc: perl: 485; makefile: 36
file content (31 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Tk::HistEntry Module

Tk::HistEntry implements an entry widget with history. You may use the up
and down keys to select older entries (or use the associated listbox).

Usage: $top->HistEntry(-textvariable => \$foo,
                       -command => sub {
                         # automatically adds $foo to history
                         print STDERR "Do something with $foo\n";
                       })->pack;

The widget comes in two flavors: the "HistEntry" widget is an
inherited BrowseEntry widget where you see history in the associated
listbox, too. The "SimpleHistEntry" widget is a plain Entry widget.

To install, type

	$ perl Makefile.PL
	$ make
	$ make install

Testing is done with

	$ make test

There's also a demo which can be started with

	$ make demo

Send bug reports, comments and suggestions to Slaven Rezic
<slaven@rezic.de>.