ScrolledWindow.setMaxContentHeight

void setMaxContentHeight(int height)

Sets the maximum height that scrolled_window should keep visible.

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

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

Parameters

heightthe maximum content height