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

This function gets or sets the adjustment that the list box uses for vertical scrolling.

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

2025-07-28