'tkinter: Scrollbar bar widget with resizable handle

Is there a widget usable in Python with tkinter, which is a scrollbar with resizable slider? This makes sense e.g. when displaying something in graphical format to pan (moving the slider) and zoom (resizing the slider) with the same widget.

In a waveform viewer from Cadence it looks like this:

scrollbar with resizable handle

You can resize the handle using the little triangles or just grabbing the left or right edge of the handle with the mouse.



Solution 1:[1]

No, there is nothing like that in tkinter. Tkinter provides the basic building blocks, however. You could probably craft one using frames or a canvas.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Bryan Oakley