Gnome.Canvas.ScrollTo Method
Makes a canvas scroll to the specified offsets, given in canvas pixel units.

Syntax

public void ScrollTo (int cx, int cy)

Parameters

cx
Horizontal scrolling offset in canvas pixel units.
cy
Vertical scrolling offset in canvas pixel units.

Remarks

Makes a canvas scroll to the specified offsets, given in canvas pixel units. The canvas will adjust the view so that it is not outside the scrolling region. This function is typically not used, as it is better to hook scrollbars to the canvas layout's scrolling adjusments.

Requirements

Namespace: Gnome
Assembly: gnome-sharp (in gnome-sharp.dll)