Gtk.Widget.SetScrollAdjustments Method
For widgets that support scrolling, sets the scroll adjustments.

Syntax

public bool SetScrollAdjustments (Adjustment hadjustment, Adjustment vadjustment)

Parameters

hadjustment
An adjustment for horizontal scrolling, or null.
vadjustment
An adjustment for vertical scrolling, or null.

Returns

Returns true if the widget supports scrolling.

Remarks

For widgets that don't support scrolling, does nothing and returns false. Widgets that don't support scrolling can be scrolled by placing them in a Gtk.ViewPort, which does support scrolling.

Requirements

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