GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TK::SCROLLED (3)

.ds Aq ’

NAME

Tk::Scrolled - Create a widget with attached scrollbar(s)

CONTENTS

SYNOPSIS

$whatever = $parent-><B>ScrolledB>(Whatever ?,<B>-scrollbarsB>=>where? ?,...?);

DESCRIPTION

To stop a flood of <B>ScrlWhateverB> widgets Perl/Tk introcuded the special constructor <B>ScrolledB>. <B>ScrolledB> creates a widget of the given Class Whatever with attached scrollbar(s).

OPTIONS

All options beside <B>-scrollbarsB> explained below are passed to the Whatever widget constructor.
-scrollbars Expects as argument the position where the scrollbars should be created: <B>wB>, <B>eB> or <B>nB>, <B>sB> or a combination of them. If the one or both positions are prefixed with <B>oB> the 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 <B>scrolledB> above. widget is the kind of widget passed to scrolled as first argument in all lowercase.
xscrollbar the <B>ScrollbarB> widget used for horizontal scrolling (if it exists)
yscrollbar the <B>ScrollbarB> widget used for vertical scrolling (if it exists)
corner a frame in the corner between the vertical and horizontal scrolbar

BUGS

If a widget does not support -{x,y}scrollcommand options, <B>ScrolledB> does not complain if the specified widget class does not support them. E.g.,

$parent-><B>ScrolledB>(<B>’Button’B>, ...)

One does not get an error message or warning when one tries to configure scrollbars after the widget construction:

$ascrolled-><B>configureB>(<B>-scrollbarsB> => <B>’e’B>);

SEE ALSO

Tk::Scrollbar

KEYWORDS

scrolled, scrollbar
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SCROLLED (3) 2013-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.