| 1 |
|
| 2 |
=head1 NAME |
| 3 |
|
| 4 |
Tk::ROText - 'readonly' perl/Tk Text widget |
| 5 |
|
| 6 |
=for pm Tk/ROText.pm |
| 7 |
|
| 8 |
=for category Derived Widgets |
| 9 |
|
| 10 |
=head1 SYNOPSIS |
| 11 |
|
| 12 |
use Tk::ROText; |
| 13 |
... |
| 14 |
$ro = $mw->ROText(?options,...?); |
| 15 |
|
| 16 |
=head1 DESCRIPTION |
| 17 |
|
| 18 |
This "I<IS A>" text widget with all bindings removed that would alter |
| 19 |
the contents of the text widget. The contents can still be modified |
| 20 |
via method calls. |
| 21 |
|
| 22 |
=head2 BINDINGS |
| 23 |
|
| 24 |
Only read-only bindings from L<Tk::Text> are available in |
| 25 |
B<Tk::ROText>. Additionally the following bindings are defined: |
| 26 |
|
| 27 |
=over |
| 28 |
|
| 29 |
=item <space> |
| 30 |
|
| 31 |
Move the cursor forward by one screenful. |
| 32 |
|
| 33 |
=item <BackSpace> |
| 34 |
|
| 35 |
Move the cursor backward by one screenful. |
| 36 |
|
| 37 |
=back |
| 38 |
|
| 39 |
=head1 KEYWORDS |
| 40 |
|
| 41 |
widget, text, readonly |
| 42 |
|
| 43 |
=head1 SEE ALSO |
| 44 |
|
| 45 |
L<Tk::Text> |
| 46 |
|
| 47 |
=cut |
| 48 |
|