- COPYRIGHT & LICENSE
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:
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
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
Michael J. Carman,
<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
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.