ListBox.setAdjustment

Sets the adjustment (if any) that the widget uses to for vertical scrolling.

For instance, this is used to get the page size for PageUp/Down key handling.

In the normal case when the box is packed inside a gtk.scrolled_window.ScrolledWindow the adjustment from that will be picked up automatically, so there is no need to manually do that.

class ListBox
void
setAdjustment

Parameters

adjustment gtk.adjustment.Adjustment

the adjustment