Method

GtkScrolledWindowset_max_content_height

since: 3.22

Declaration [src]

void
gtk_scrolled_window_set_max_content_height (
  GtkScrolledWindow* scrolled_window,
  gint height
)

Description [src]

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 GtkScrolledWindow:min-content-height.

Available since: 3.22

Parameters

height

Type: gint

The maximum content height.