Michael Carman > Tkx-Scrolled-0.06 > Tkx::Scrolled

Download:
Tkx-Scrolled-0.06.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.06   Source  

NAME ^

Tkx::Scrolled - Tkx megawidget for scrolled widgets

SYNOPSIS ^

        use Tkx::Scrolled;

        my $text = $mw->new_tkx_Scrolled('text');

DESCRIPTION ^

Tkx::Scrolled is a Tkx megawidget that simplifies that task of adding scrollbars to your widgets.

OPTIONS ^

The options below are for the Tkx::Scrolled megawidget. All other options are passed through to the constructor for the scrolled subwidget.

-scrollbars

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.

-tile

Use tiled (ttk) scrollbars if available. Defaults to 1.

SUBWIDGETS ^

scrolled

The scrolled widget.

xscrollbar

The scrollbar widget used for horizontal scrolling.

yscrollbar

The scrollbar widget used for vertical scrolling.

METHODS ^

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.

AUTHOR ^

Michael J. Carman, <mjcarman at cpan.org>

BUGS ^

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

make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

        perldoc Tkx::Scrolled

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

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.

syntax highlighting: