Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Adjustment

Method GTK2.Adjustment()->clamp_page()


Method clamp_page

GTK2.Adjustment clamp_page(float lower, float upper)

Description

Updates the W(Adjustment) value to ensure that the range between lower and upper is in the current page (i.e. between value and 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 "changed" signal will be emitted if the value is changed.