Range.setAdjustment
void setAdjustment(gtk.adjustment.Adjustment adjustment)Sets the adjustment to be used as the “model” object for the gtk.range.Range
The adjustment indicates the current range value, the minimum and maximum range values, the step/page increments used for keybindings and scrolling, and the page size.
The page size is normally 0 for gtk.scale.Scale and nonzero for gtk.scrollbar.Scrollbar, and indicates the size of the visible area of the widget being scrolled. The page size affects the size of the scrollbar slider.
Parameters
adjustment | a gtk.adjustment.Adjustment |