Tkx::ROText - Tkx text widget that supports a read-only state.
use Tkx::ROText; ... my $text = $parent->new_tkx_ROText();
Tk's text widget doesn't support the 'readonly' state, nor does Tk have a separate read-only text widget. This means that Tkx -- being a thin wrapper around Tcl/Tk -- doesn't either.
Instead of providing a text widget that is always read-only (like Perl/Tk's Tk::ROText) this module provides a text widget that supports the 'readonly' state. This makes it possible to switch the widget between being read-only and editable.
When the state is 'readonly' the widget's contents cannot be changed by the user but may be modified programmatically. In all other ways it behaves as (and in fact is) a standard text widget.
The default state is 'readonly.'
Please report any bugs or feature requests to bug-tkx-rotext at rt.cpan.org or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tkx-ROText. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-tkx-rotext at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Tkx::ROText
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Tkx-ROText
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Tkx-ROText
CPAN Ratings
http://cpanratings.perl.org/d/Tkx-ROText
Search CPAN
http://search.cpan.org/dist/Tkx-ROText
Michael J. Carman, <mjcarman at cpan.org>
<mjcarman at cpan.org>
Copyright 2009 Michael J. Carman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Tkx::ROText, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tkx::ROText
CPAN shell
perl -MCPAN -e shell install Tkx::ROText
For more information on module installation, please visit the detailed CPAN module installation guide.