set_adjustment


Description:

[ Version ( since = "3.10" ) ]
public void set_adjustment (Adjustment? adjustment)

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 this is packed inside a ScrolledWindow the adjustment from that will be picked up automatically, so there is no need to manually do that.

Parameters:

this

a ListBox

adjustment

the adjustment, or null