UPDATE_DISCONTINUOUS - The "value_changed" signal is only emitted once the slider has stopped moving and the user has released the mouse button.
UPDATE_DELAYED - The "value_changed" signal is emitted when the user releases the mouse button, or if the slider stops moving for a short period of time.
adjustment = range.get_adjustment() range.set_adjustment(adjustment)
The get_adjustment() method returns a reference to the adjustment to which range is connected.
method does absolutely nothing if you pass it the adjustment
that range is already using,
regardless of whether you changed any of its fields or not. If you pass
it a new Adjustment, it will unreference the old one if it exists (possibly
destroying it), connect the appropriate signals to the new one, and will
recalculate the size and/or position of the slider and redraw if necessary.
As mentioned in the section on adjustments, if you wish to reuse the same
Adjustment, when you modify its values directly, you should emit the "changed"
signal on it, like this: