Tk::Scrolled3pm
Create a widget with attached scrollbar(s)
Usage
$whatever = $parent->Scrolled(Whatever ?,-scrollbars=>where? ?,...?);
Overview
To stop a flood of ScrlWhatever widgets Perl/Tk introcuded the special constructor Scrolled. Scrolled creates a widget of the given Class Whatever with attached scrollbar(s).
Options
All options beside -scrollbars explained below are passed to the Whatever widget constructor.
-
-scrollbars -
Expects as argument the position where the scrollbars should be created:
w,eorn,sor a combination of them. If the one or both positions are prefixed withothe scrollbar will only show up if there is a 'real' need to scroll.
Advertised subwidgets
See "Subwidget" in Tk::mega how to use advertised widgets.
- scrolled
-
the scrolled widget
- widget
-
same as
scrolledabove. widget is the kind of widget passed to scrolled as first argument in all lowercase.
- xscrollbar
-
the
Scrollbarwidget used for horizontal scrolling (if it exists)
- yscrollbar
-
the
Scrollbarwidget used for vertical scrolling (if it exists)
- corner
-
a frame in the corner between the vertical and horizontal scrolbar
Keywords
scrolled, scrollbar
Releases
15 releases since Debian 2.1 (Slink); the text changed 14 times.