Package: gtk

Function gtk:adjustment-clamp-page

Lambda List

gtk:adjustment-clamp-page (adjustment lower upper)

Arguments

adjustment -- a gtk:adjustment object
lower -- a number with the lower value
upper -- a number with the upper value

Details

Updates the adjustment value to ensure that the range between lower and upper is in the current page. If the range is larger than the page size, then only the start of it will be in the current page. A "changed" signal will be emitted if the value is changed.

Notes

The numbers for the arguments are coerced to double floats before being passed to the foreign C function.
 

See also

#2025-1-25