Package: gtk

Function gtk-list-box-adjustment

Lambda List

gtk-list-box-adjustment (listbox)

Syntax

(gtk-list-box-adjustment listbox) => adjustment
(setf (gtk-list-box-adjustment listbox) adjustment)

Arguments

listbox -- a gtk-list-box widget
adjustment -- a gtk-adjustment object

Details

Accessor of the adjustment the list box uses for vertical scrolling.

The gtk-list-box-adjustment function gets the adjustment (if any) that the list box uses for vertical scrolling. The (setf gtk-list-box-adjustment) function sets the adjustment.

For instance, this is used to get the page size for PageUp/Down key handling. In the normal case when the list box is packed inside a gtk-scrolled-window widget the adjustment from that will be picked up automatically, so there is no need to manually do that.
 

See also

2021-11-15