Gtk.Adjustment Class
Encapsulates an adjustable bounded value.

See Also: Adjustment Members


public class Adjustment : Object


The Adjustment object represents a value with an associated Adjustment.Lower and Adjustment.Upper bound, together with a Adjustment.StepIncrement, Adjustment.PageIncrement, and a Adjustment.PageSize.

The Adjustment object does not update the value itself. Instead it is left up to the owner of the Adjustment to control the value. The owner of the Adjustment typically calls the Adjustment.ValueChanged and Adjustment.Changed methods after changing the value or its bounds, respectively. This results in the emission of the Adjustment.ValueChanged or Adjustment.Changed events respectively.

An Adjustment is used within several widgets, including Gtk.SpinButton, Gtk.Viewport, and Gtk.Range (which is a base class for Gtk.HScrollbar, Gtk.VScrollbar, Gtk.HScale, and Gtk.VScale).


Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: