ScrolledWindow.setMaxContentWidth

void setMaxContentWidth(int width)

Sets the maximum width that scrolled_window should keep visible.

The scrolled_window will grow up to this width before it starts scrolling the content.

It is a programming error to set the maximum content width to a value smaller than gtk.scrolled_window.ScrolledWindow.minContentWidth.

Parameters

widththe maximum content width