Package: gtk

Accessor gtk-scrolled-window-max-content-width

Lambda List

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

Syntax

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

Arguments

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

Details

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

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

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

Since 3.22
 

See also

2021-4-14