The other group includes the text widget, the viewport widget, the compound list widget, and the scrolled window widget. All of these widgets use pixel values for their adjustments. These are also all widgets which are typically "adjusted" indirectly using scrollbars. While all widgets which use adjustments can either create their own adjustments or use ones you supply, you'll generally want to let this particular category of widgets create its own adjustments. Usually, they will eventually override all the values except the value itself in whatever adjustments you give them, but the results are, in general, undefined (meaning, you'll have to read the source code to find out, and it may be different from widget to widget).
Now, you're probably thinking, since text
widgets and viewports insist on setting everything except the value
of their adjustments, while scrollbars will only touch the adjustment's
if you share an adjustment object between a scrollbar and a text
widget, manipulating the scrollbar will automagically adjust the text widget?
Of course it will! Just like this:
# creates its own adjustments text = GtkText() # uses the newly-created adjustment for the scrollbar as well vscrollbar = GtkVScrollbar(text.get_vadjustment())