Pike v8.1 release 6

Method GTK2.Gnome2Canvas()->scroll_to()


Method scroll_to

Gnome2.Canvas scroll_to(int cx, int cy)

Description

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 adjustments.