gtk.Scrollbar
gtk.Scrollbar — a base class for scrollbar widgets.
gtk.Scrollbar Style Properties
|
Description
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:
- the
adjustment.lower
attribute is the minimum value of the scroll region - the
adjustment.upper
attribute is the maximum value of the scroll region - the
adjustment.value
attribute represents the position of the scrollbar, which must be betweenadjustment.lower
andadjustment.upper
-adjustment.page_size
- the
adjustment.page_size
attribute represents the size of the visible scrollable area - the
adjustment.step_increment
attribute is the distance to scroll when the small stepper arrows are clicked - the
adjustment.page_increment
attribute is the distance to scroll when the Page Up or Page Down keys are pressed