Tkx::Scrolled - Tkx megawidget for scrolled widgets
use Tkx::Scrolled; my $text = $mw->new_tkx_Scrolled('text');
Tkx::Scrolled is a Tkx megawidget that simplifies that task of adding scrollbars to your widgets.
The options below are for the Tkx::Scrolled megawidget. All other options are passed through to the constructor for the scrolled subwidget.
Where the scrollbars should be drawn relative to the scrolled widget: n, s, e, w or a combination of them. If a position is prefixed with o the corresponding scrollbar is optional and will only be drawn if needed. The default value is se.
n
s
e
w
o
se
Use tiled (ttk) scrollbars if available. Defaults to 1.
The scrolled widget.
The scrollbar widget used for horizontal scrolling.
The scrollbar widget used for vertical scrolling.
None. All method calls are delgated to the scrolled subwidget. This means that you don't need to access the subwidget directly and can make existing widgets scrolled without needing to change any of the code that references them.
Method delgation to other megawidgets (e.g. Tkx::ROText) only works with Tkx version 1.06 or greater and only if the embedded megawidget's method names include the 'm_' prefix. If you can't rely on this you'll have to fall back to the $w->_kid('scrolled')->method(...) syntax.
$w->_kid('scrolled')->method(...)
Michael J. Carman, <mjcarman at cpan.org>
<mjcarman at cpan.org>
Please report any bugs or feature requests to bug-tkx-scrolled at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tkx-Scrolled. I will be notified, and then you'll automatically be notified of progress on your bug as I
bug-tkx-scrolled at rt.cpan.org
make changes.
You can find documentation for this module with the perldoc command.
perldoc Tkx::Scrolled
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Tkx-Scrolled
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Tkx-Scrolled
CPAN Ratings
http://cpanratings.perl.org/d/Tkx-Scrolled
Search CPAN
http://search.cpan.org/dist/Tkx-Scrolled
Copyright 2009-2010 Michael J. Carman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Tkx::Scrolled, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tkx::Scrolled
CPAN shell
perl -MCPAN -e shell install Tkx::Scrolled
For more information on module installation, please visit the detailed CPAN module installation guide.