Term::Stool::VScrollBar
Term::Stool::VSUserlContributed Perl DoTerm::Stool::VScrollBar(r)



NAME
       Term::Stool::VScrollBar - vertical scrollbar widget

DESCRIPTION
       This is a vertical scrollbar widget, suitable for stan-
       dalone use or for attachment to a scrollable widget.

       Term::Stool::Widget is the parent of this class.

FIELDS
       thumbpos
           The percentage of the way down the scrollbar that the
           thumb is.

       thumbcolor
           The color to use for the thumb when the scrollbar is
           active. When it is inactive, the thumb will mimic the
           color of the container the scrollbar is in.

       widget
           A widget the scroll bar is attached to. If set, the
           scroll bar will automatically fit itself to the right
           hand side of the widget.

METHODS
       init
           Sets fields to reasonable defaults.

       display
           If the scroll bar is bound to a widget, it displays
           along its rigt side.  Otherwise, it displays wherever
           its is located.

       input
           Up and down arrow keys scroll, also handle home and
           end.

AUTHOR
       Joey Hess <joey@kitenet.net>



2001-05-23                 perl v5.6.1 Term::Stool::VScrollBar(r)