Package: gtk

Accessor gtk-scrolled-window-max-content-height

Lambda List

gtk-scrolled-window-max-content-height (object)

Syntax

(gtk-scrolled-window-max-content-height object) => height
(setf (gtk-scrolled-window-max-content-height object) height)

Arguments

object -- a gtk-scrolled-window widget
height -- an integer with the maximum content height

Details

Accessor of the max-content-height slot of the gtk-scrolled-window class.

The gtk-scrolled-window-max-content-height slot access function returns the maximum content height that the scrolled window should keep visible. The scrolled window will grow up to this height before it starts scrolling the content. The (setf gtk-scrolled-window-max-content-height) slot access function sets the maximum height.

It is a programming error to set the maximum content height to a value smaller than the min-content-height value.

Since 3.22
 

See also

2021-10-14