clampPage

open fun clampPage(lower: <Error class: unknown class>, upper: <Error class: unknown class>)

Updates the value property to ensure that the range between @lower and @upper is in the current page.

The current page goes from value to value + page-size. If the range is larger than the page size, then only the start of it will be in the current page.

A signal@Gtk.Adjustment::value-changed signal will be emitted if the value is changed.

Parameters

lower

the lower value

upper

the upper value