Method

GtkAdjustmentclamp_page

Declaration [src]

void
gtk_adjustment_clamp_page (
  GtkAdjustment* adjustment,
  gdouble lower,
  gdouble upper
)

Description [src]

Updates the GtkAdjustment:value property to ensure that the range between lower and upper is in the current page (i.e. between GtkAdjustment:value and GtkAdjustment:value + GtkAdjustment:page-size). If the range is larger than the page size, then only the start of it will be in the current page.

A GtkAdjustment::value-changed signal will be emitted if the value is changed.

Parameters

lower

Type: gdouble

The lower value.

upper

Type: gdouble

The upper value.