gtk.Scrollbar — a base class for scrollbar widgets.
|
The gtk.Scrollbar
widget is an abstract base class for gtk.HScrollbar
and gtk.VScrollbar
.
The position of the thumb in a scrollbar is controlled by the scroll
adjustments. The gtk.Scrollbar
uses the attributes in an adjustment (see gtk.Adjustment
) as follows:
adjustment.lower
attribute is the
minimum value of the scroll regionadjustment.upper
attribute is the
maximum value of the scroll regionadjustment.value
attribute
represents the position of the scrollbar, which must be between
adjustment.lower
and adjustment.upper
- adjustment.page_size
adjustment.page_size
attribute
represents the size of the visible scrollable areaadjustment.step_increment
attribute
is the distance to scroll when the small stepper arrows are clickedadjustment.page_increment
attribute
is the distance to scroll when the Page Up or Page
Down keys are pressed