Gdk.Window.Scroll Method
Scroll the contents of this window, both pixels and children, by the given amount. The window itself does not move. Portions of the window that the scroll operation brings in from offscreen areas are invalidated. The invalidated region may be bigger than what would strictly be necessary. (For X11, a minimum area will be invalidated if the window has no subwindows, or if the edges of the window's parent do not extend beyond the edges of the window. In other cases, a multi-step process is used to scroll the window which may produce temporary visual artifacts and unnecessary invalidations.)

Syntax

public void Scroll (int dx, int dy)

Parameters

dx
A int, amount to scroll in the X direction
dy
A int, amount to scroll in the Y direction

Remarks

Requirements

Namespace: Gdk
Assembly: gdk-sharp (in gdk-sharp.dll)